Skip to content

Enable some permissions for MegaLinter #247

@josecelano

Description

@josecelano

We do not need to enable "write" permission because we are not using the auto-fix feature but we could enable this two permissions:

permissions:
  pull-requests: write
  statuses: write

The first one makes this kind of comment on the PR:

image

And the second one is used by MegaLinter

[GitHub Status Reporter] Error posting Status for SPELLwith cspell: 403
GitHub API response: {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/reference/repos#create-a-commit-status"}

to post a status on the pull request for each processed linter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions