Skip to content

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

@Kevin-de-Jong

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`).

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