Skip to content

Repair wp/7.0 branch Actions: add concurrency configuration to workflows - #256

Closed
desrosj wants to merge 2 commits into
fix-actions-7.0/fix-workflow-branch-filtersfrom
fix-actions-7.0/add-workflow-concurrency
Closed

desrosj wants to merge 2 commits into
fix-actions-7.0/fix-workflow-branch-filtersfrom
fix-actions-7.0/add-workflow-concurrency

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026

Copy link
Copy Markdown
Owner

What?

Adds a concurrency: block to every relevant GitHub Actions workflow on this branch (cancelling stale in-progress runs automatically), and removes the cancel.yml workflow if still present, since it's now redundant.

Why?

Ports upstream trunk commit 7b39dd71905cb7e546857741e3d52e977ec36691, "Replace the Cancel workflow with native GitHub Action functionality" (#32016). Workflows that didn't exist yet (or had a different shape) when that commit landed were configured to match how trunk handles concurrency for them today.

Use of AI Tools

This PR was authored with the help of Claude Code.

@desrosj
desrosj added this pull request to stack #179 September 11, 2026 04:02
@desrosj
desrosj force-pushed the fix-actions-7.0/add-workflow-concurrency branch from d518ca6 to 86ff621 Compare September 11, 2026 14:55
@desrosj
desrosj force-pushed the fix-actions-7.0/add-workflow-concurrency branch from 86ff621 to 3b912be Compare September 11, 2026 17:04
Comment thread .github/workflows/pr-labeling-automation.yml Outdated
@desrosj
desrosj marked this pull request as ready for review September 11, 2026 18:18
@github-actions

Copy link
Copy Markdown

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: desrosj <desrosj@git.wordpress.org>

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

Ports upstream trunk commit 7b39dd7
(WordPress@7b39dd7),
"Replace the Cancel workflow with native GitHub Action functionality (WordPress#32016)":
adds a `concurrency:` block to every relevant workflow so in-progress runs are
cancelled automatically when a newer commit supersedes them, and removes the
now-redundant `cancel.yml` workflow if still present on this branch.

Workflows that didn't exist (or looked different) back when the upstream commit
landed were brought in line with how trunk configures concurrency for them today.
@desrosj
desrosj force-pushed the fix-actions-7.0/add-workflow-concurrency branch from 4fce426 to 611d8be Compare September 11, 2026 18:38
@desrosj

desrosj commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

Migrated to real upstream: WordPress#82807. Closing this fork PR.

@desrosj desrosj closed this Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant