JetBrains / intellij-platform-plugin-template

Template repository for creating plugins for IntelliJ Platform
Apache License 2.0
2.97k stars 587 forks source link

Note, that "Allow GitHub Actions to create and approve pull requests" needs to be checked for release workflow #451

Closed dploeger closed 1 month ago

dploeger commented 3 months ago

What happened?

When releasing a new version, the release failed with the step creating the pull request for the changelog. This is due that the setting "Allow GitHub Actions to create and approve pull requests" was not set in the repository's settings.

This should be noted in the documentation.

Relevant log output or stack trace

pull request create failed: GraphQL: GitHub Actions is not permitted to create or approve pull requests (createPullRequest)

Steps to reproduce

Gradle IntelliJ Plugin version

n/a

Gradle version

n/a

Operating System

None

Link to build, i.e. failing GitHub Action job

https://github.com/dploeger/idea-shellfilter/actions/runs/8387639028

YannCebron commented 1 month ago

Thanks for highlighting this.