Infrastructure: Replace styfle/cancel-workflow-action with native concurrency#2472
Conversation
…currency Use the built-in concurrency feature in GitHub Actions to cancel prior in-progress runs for the same workflow + branch instead of relying on a third-party action. This also removes the actions: write permission those jobs needed. Follows up on review feedback from #2471. Co-authored-by: thelovekesh <thelovekesh@git.wordpress.org> Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #2472 +/- ##
=======================================
Coverage 69.33% 69.33%
=======================================
Files 90 90
Lines 7749 7749
=======================================
Hits 5373 5373
Misses 2376 2376
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
styfle/cancel-workflow-actionwith GitHub Actions' built-inconcurrencyfeature inphp-lint.yml,php-test-plugins.yml, andjs-lint.yml.actions: writepermission those jobs needed only for the third-party action..github/workflows/codeql-analysis.yml.Follows up on @thelovekesh's review feedback in #2471 (comment).
Test plan
🤖 Generated with Claude Code