Skip to content

"GitHub Actions is not permitted to create or approve pull requests." #19465

Closed

Description

@dsyme

When the safe output handler for create_pull_request gets the error "GitHub Actions is not permitted to create or approve pull requests." it should instead push the branch (will already have been done) and create an issue populated with a create-a-pr incoming intent link to https://github.com/github/gh-aw/pulls/new with the right query parameters to pre-populate the branch, title etc.

https://github.com///pulls/new?title=...&body=...&base=...&head=...

check those query params, also check if labels can be added.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions