Skip to content

Conversation

@t-hamano
Copy link
Contributor

What?

When a PR is tagged with the Backport to WP X.X Beta/RC label, GitHub Action triggers it to automatically cherry-pick the PR into the wp/x.x branch. Some issues were resolved in #72556, and the cherry-pick itself now works correctly, but the following two workflows don't work:

  • Remove the Backport to WP X.X Beta/RC label.
  • Comment about the cherry-pick results on the PR.

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.

@t-hamano t-hamano marked this pull request as ready for review October 22, 2025 12:04
@github-actions
Copy link

github-actions bot commented Oct 22, 2025

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: Mamaduka <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@t-hamano t-hamano added [Type] Build Tooling Issues or PRs related to build tooling GitHub Actions Pull requests that update GitHub Actions code labels Oct 22, 2025
Copy link
Member

@ellatrix ellatrix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's quite difficult to test workflows. Happy to try this.

Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give it a try. It's an easy change to revert.

@t-hamano t-hamano self-assigned this Oct 22, 2025
@github-actions
Copy link

Flaky tests detected in 970ee74.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18715490248
📝 Reported issues:

@t-hamano t-hamano merged commit c8165de into trunk Oct 22, 2025
44 of 49 checks passed
@t-hamano t-hamano deleted the cherry-pick-allow-pr-write branch October 22, 2025 12:39
@github-actions github-actions bot added this to the Gutenberg 22.0 milestone Oct 22, 2025
@t-hamano
Copy link
Contributor Author

Auto cherry-picking seems to work correctly now 🚀

#72565 (comment)

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

Labels

GitHub Actions Pull requests that update GitHub Actions code [Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants