Skip to content

"Update Generated Files" job is failing on permissions to create a PR #1488

@miabbott

Description

@miabbott

Starting on July 9, the "Update Generated Files" job starting to fail with an error about GitHub Actions not being able to create PRs.

Attempting creation of pull request
Error: GitHub Actions is not permitted to create or approve pull requests.

The specific GHA used to create PRs (peter-evans/create-pull-request) requires that the GHA is explicitly allowed to create PRs.

Since the bootc repo is part of a larger bootc-dev org, this setting needs to be enabled at the org level.

I suspect that this setting may have been changed around July 9 but since the job is non-blocking, it was not noticed before now.

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