Skip to content

Infrastructure: Replace styfle/cancel-workflow-action with native concurrency#2472

Merged
westonruter merged 1 commit into
trunkfrom
replace-styfle-with-concurrency
May 13, 2026
Merged

Infrastructure: Replace styfle/cancel-workflow-action with native concurrency#2472
westonruter merged 1 commit into
trunkfrom
replace-styfle-with-concurrency

Conversation

@westonruter
Copy link
Copy Markdown
Member

Summary

  • Replaces styfle/cancel-workflow-action with GitHub Actions' built-in concurrency feature in php-lint.yml, php-test-plugins.yml, and js-lint.yml.
  • Drops the actions: write permission those jobs needed only for the third-party action.
  • Concurrency group pattern matches the existing one in .github/workflows/codeql-analysis.yml.

Follows up on @thelovekesh's review feedback in #2471 (comment).

Test plan

  • Push a follow-up commit to this PR and verify the prior in-progress workflow run is cancelled (visible in the Actions tab).
  • Confirm the three workflows still complete successfully on this PR.

🤖 Generated with Claude Code

…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>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

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: westonruter <westonruter@git.wordpress.org>
Co-authored-by: thelovekesh <thelovekesh@git.wordpress.org>

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

@westonruter westonruter added [Type] Enhancement A suggestion for improvement of an existing feature no milestone PRs that do not have a defined milestone for release labels May 13, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.33%. Comparing base (e625c7c) to head (9fa4c1f).

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           
Flag Coverage Δ
multisite 69.33% <ø> (ø)
single 35.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-project-automation github-project-automation Bot moved this to Not Started/Backlog 📆 in WP Performance Ongoing May 13, 2026
@westonruter westonruter moved this from Not Started/Backlog 📆 to Code Review 👀 in WP Performance Ongoing May 13, 2026
@westonruter westonruter merged commit 65c1f28 into trunk May 13, 2026
25 of 28 checks passed
@westonruter westonruter deleted the replace-styfle-with-concurrency branch May 13, 2026 19:12
@github-project-automation github-project-automation Bot moved this from Code Review 👀 to Done 😃 in WP Performance Ongoing May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no milestone PRs that do not have a defined milestone for release [Type] Enhancement A suggestion for improvement of an existing feature

Projects

Status: Done 😃

Development

Successfully merging this pull request may close these issues.

2 participants