Skip to content

Improve error message when updating labels without pull-requests:write permissions #20

Description

@Kevin-de-Jong

Scope

The following error is raised when running this action with update-labels: true (default behavior), without having pull-requests:write:

Resource not accessible by integration

Proposal

Provide a nice error message to the end user, explaining which permission needs to be granted to your token;

❌  CommitMe is configured to update Pull Request labels but does not have the right permissions to do so (`pull-requests:write`).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions