Skip to content

Put in the log a link to the FAQ for the following common case - Error: Permission error: GitHub Actions is not permitted to create or approve pull requests #251

@lucabol

Description

@lucabol

It is debatable if this is a good idea, as a search engine does return reasonable but somehow obsolete articles (depending on the engine). The FAQ is the most up to date.

This is the pattern to detect:

Warning: Failed to create pull request: GitHub Actions is not permitted to create or approve pull requests.
Error: Permission error: GitHub Actions is not permitted to create or approve pull requests

And this is the relevant FAQ: https://github.github.com/gh-aw/reference/faq/#why-is-my-create-pull-request-workflow-failing-with-github-actions-is-not-permitted-to-create-or-approve-pull-requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions