Repository navigation
Github PHP changes workflow: remove it - #62609
Conversation
|
Looks good to me unless anyone in @WordPress/gutenberg-core has any objections 👍 |
|
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. |
tellthemachines
left a comment
There was a problem hiding this comment.
This makes sense, thanks for the cleanup!
|
No objections, if you think the failing test is enough. I was wondering if the backport log test should leave an actual Github comment instead, though there should be a clear error message if you open the test results. |
…k backport changelog workflow is in place.
a84af57 to
c5bd1de
Compare
|
Flaky tests detected in c5bd1de. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9543945900
|
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org> Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org> Co-authored-by: noisysocks <noisysocks@git.wordpress.org> Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
`php-changes-detection.yml` runs on every pull request opened against this branch (`pull_request: types: [opened, synchronize]`, with no branch filter) and, whenever the PR touches `lib/`, `phpunit/` or any `packages/**/*.php` file, posts and then keeps updating a bot comment asking the author to confirm whether the change needs to be synced to WordPress Core "and therefore featured in the next release of WordPress", recommending a new Trac ticket and a matching pull request against `WordPress/wordpress-develop`. That prompt only makes sense for work landing on `trunk`. `wp/6.6` mirrors the Gutenberg code already shipped in WordPress 6.6; PHP changes made here are maintenance for an already-released version, coordinated through the backport process for that specific release rather than discovered by a bot comment. The workflow's only effect on this branch is a comment giving the wrong instructions. Upstream reached the same conclusion for `trunk` and deleted the workflow outright in #62609 (2024-06-17). `wp/6.6` branched from `trunk` on 2024-05-31, a couple of weeks before that removal landed, which is the only reason the file is still here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
`php-changes-detection.yml` has no branch or path filter, so it runs on every single pull request opened against this branch. When a pull request touches PHP, it posts (and keeps updating) a bot comment asking the author to confirm whether the change needs syncing to WordPress Core, to open a Trac ticket, and to send a matching `wordpress-develop` pull request so the change is "featured in the next release of WordPress". That prompt is wrong on `wp/6.5`. This branch exists to hold the Gutenberg code that shipped with WordPress 6.5, released in April 2024; work landing here is not a candidate for the next WordPress release, and the Core sync it points contributors toward happens from `trunk`. The comment is inaccurate guidance, and on the remaining pull requests it is a job that runs on every push to produce nothing. `trunk` removed this workflow outright in #62609 for the same reason — noise, superseded by the backport-changelog workflow, which postdates this branch and does not exist here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
`php-changes-detection.yml` runs on every pull request opened against this branch (`pull_request: types: [opened, synchronize]`, with no branch filter) and, whenever the PR touches `lib/`, `phpunit/` or any `packages/**/*.php` file, posts and then keeps updating a bot comment asking the author to confirm whether the change needs to be synced to WordPress Core "and therefore featured in the next release of WordPress", recommending a new Trac ticket and a matching pull request against `WordPress/wordpress-develop`. That prompt only makes sense for work landing on `trunk`. `wp/6.6` mirrors the Gutenberg code already shipped in WordPress 6.6; PHP changes made here are maintenance for an already-released version, coordinated through the backport process for that specific release rather than discovered by a bot comment. The workflow's only effect on this branch is a comment giving the wrong instructions. Upstream reached the same conclusion for `trunk` and deleted the workflow outright in #62609 (2024-06-17). `wp/6.6` branched from `trunk` on 2024-05-31, a couple of weeks before that removal landed, which is the only reason the file is still here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
`php-changes-detection.yml` has no branch or path filter, so it runs on every single pull request opened against this branch. When a pull request touches PHP, it posts (and keeps updating) a bot comment asking the author to confirm whether the change needs syncing to WordPress Core, to open a Trac ticket, and to send a matching `wordpress-develop` pull request so the change is "featured in the next release of WordPress". That prompt is wrong on `wp/6.5`. This branch exists to hold the Gutenberg code that shipped with WordPress 6.5, released in April 2024; work landing here is not a candidate for the next WordPress release, and the Core sync it points contributors toward happens from `trunk`. The comment is inaccurate guidance, and on the remaining pull requests it is a job that runs on every push to produce nothing. `trunk` removed this workflow outright in #62609 for the same reason — noise, superseded by the backport-changelog workflow, which postdates this branch and does not exist here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
`php-changes-detection.yml` runs on every pull request opened against this branch (`pull_request: types: [opened, synchronize]`, with no branch filter) and, whenever the PR touches `lib/`, `phpunit/` or any `packages/**/*.php` file, posts and then keeps updating a bot comment asking the author to confirm whether the change needs to be synced to WordPress Core "and therefore featured in the next release of WordPress", recommending a new Trac ticket and a matching pull request against `WordPress/wordpress-develop`. That prompt only makes sense for work landing on `trunk`. `wp/6.6` mirrors the Gutenberg code already shipped in WordPress 6.6; PHP changes made here are maintenance for an already-released version, coordinated through the backport process for that specific release rather than discovered by a bot comment. The workflow's only effect on this branch is a comment giving the wrong instructions. Upstream reached the same conclusion for `trunk` and deleted the workflow outright in #62609 (2024-06-17). `wp/6.6` branched from `trunk` on 2024-05-31, a couple of weeks before that removal landed, which is the only reason the file is still here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
`php-changes-detection.yml` has no branch or path filter, so it runs on every single pull request opened against this branch. When a pull request touches PHP, it posts (and keeps updating) a bot comment asking the author to confirm whether the change needs syncing to WordPress Core, to open a Trac ticket, and to send a matching `wordpress-develop` pull request so the change is "featured in the next release of WordPress". That prompt is wrong on `wp/6.5`. This branch exists to hold the Gutenberg code that shipped with WordPress 6.5, released in April 2024; work landing here is not a candidate for the next WordPress release, and the Core sync it points contributors toward happens from `trunk`. The comment is inaccurate guidance, and on the remaining pull requests it is a job that runs on every push to produce nothing. `trunk` removed this workflow outright in #62609 for the same reason — noise, superseded by the backport-changelog workflow, which postdates this branch and does not exist here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
Removing the PHP changes workflow
Why?
The PHP detections action checks for PHP changes and adds a comment to ask whether a backport is necessary.
Example:
I think it's just noise now that the check backport changelog workflow is in place.
Also to reduce clutter.