GitHub Actions: Allow writing PRs when auto-cherry-picking#72573
GitHub Actions: Allow writing PRs when auto-cherry-picking#72573
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
ellatrix
left a comment
There was a problem hiding this comment.
It's quite difficult to test workflows. Happy to try this.
Mamaduka
left a comment
There was a problem hiding this comment.
Let's give it a try. It's an easy change to revert.
|
Flaky tests detected in 970ee74. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18715490248
|
|
Auto cherry-picking seems to work correctly now 🚀 |
What?
When a PR is tagged with the
Backport to WP X.X Beta/RClabel, GitHub Action triggers it to automatically cherry-pick the PR into thewp/x.xbranch. Some issues were resolved in #72556, and the cherry-pick itself now works correctly, but the following two workflows don't work:Backport to WP X.X Beta/RClabel.My guess is that the reason is that the permission was limited to read by #69126.
https://github.com/WordPress/gutenberg/pull/69126/files#diff-712273121c4cf0e79eab65a0cbc9ee462c9dfef1ffc2a72f164bae6b46e3d625R29
Testing Instructions
This PR is difficult to test, but let's see if the workflow works correctly after this PR is merged.