Skip to content

#64893 Remove tag triggers for all workflows - #12717

Closed
johnbillion wants to merge 1 commit into
WordPress:trunkfrom
johnbillion:64893-remove-tag-triggers
Closed

#64893 Remove tag triggers for all workflows#12717
johnbillion wants to merge 1 commit into
WordPress:trunkfrom
johnbillion:64893-remove-tag-triggers

Conversation

@johnbillion

Copy link
Copy Markdown
Member

In the svn to git mirror, tagging produces a commit whose tree is identical to its parent which was usually just pushed and tested minutes earlier.

Examples from the 7.0.2 release:

tag tag commit tree parent tree
7.0.2 855551c 66825fd 66825fd
6.9.5 22cfe23 5d6c77b 5d6c77b
6.8.6 c4ee97a 94857d4 94857d4

During the release of the above versions on July 17th, the three tags spawned 795 jobs between 17:58 and 17:59 UTC. The queue peaked at over 1,200 jobs around this time and held up the installation and upgrade tests that are manually run once the packages are built.

Completely removing workflow runs for tag pushes doesn't lose us any coverage and it significantly reduces the bottleneck of workflow runs that we get at release time.

Trac ticket: Core-64893

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Opus 5
Used for: Initial investigation into tag-triggered workflows was performed by Claude Code, all verified manually

@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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props johnbillion.

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR removes push.tags triggers from all GitHub Actions workflows to prevent redundant CI runs when release tags are pushed in the SVN→Git mirror (where tag commits typically have identical trees to their already-tested parent commits), reducing queue pressure during releases.

Changes:

  • Removed tag-based triggers from CI workflows so they no longer run on git push --tags.
  • Kept existing branch-based, PR-based, and manual (workflow_dispatch) triggers intact for coverage continuity.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/upgrade-develop-testing.yml Removes tag triggers so upgrade-develop tests only run on branches/PRs/manual dispatch.
.github/workflows/test-build-processes.yml Removes tag triggers to avoid redundant build-process testing on tag pushes.
.github/workflows/phpunit-tests.yml Removes tag triggers so PHPUnit runs are not duplicated for release tags.
.github/workflows/phpstan-static-analysis.yml Removes tag triggers to prevent PHPStan runs on tag pushes.
.github/workflows/php-compatibility.yml Removes tag triggers to avoid PHP compatibility scans on tag pushes.
.github/workflows/performance.yml Removes tag triggers to avoid performance runs on tag pushes.
.github/workflows/javascript-type-checking.yml Removes tag triggers to prevent JS type checking on tag pushes.
.github/workflows/javascript-tests.yml Removes tag triggers to prevent JS test runs on tag pushes.
.github/workflows/end-to-end-tests.yml Removes tag triggers to avoid e2e runs on tag pushes.
.github/workflows/coding-standards.yml Removes tag triggers to avoid duplicate lint/standards checks on tag pushes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@lancewillett lancewillett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No blockers that I can see. Premise is logical.

Tag commits in the svn→git mirror have a tree identical to their already tested parent, so re-running the full suite on the tag is pure redundancy.

pento pushed a commit that referenced this pull request Jul 27, 2026
Tags in the `wordpress-develop` repo originate from the corresponding svn tag. This means the target commit for the tag must already exist on `wordpress-develop` and therefore its full workflow has already run, usually just minutes prior to the tag being pushed.

This change eliminates this unnecessary duplicate workflow run and reduces bottlenecks experienced during releases.

Developed in #12717

Props lancewillett, johnbillion

See #64893


git-svn-id: https://develop.svn.wordpress.org/trunk@62855 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Jul 27, 2026
Tags in the `wordpress-develop` repo originate from the corresponding svn tag. This means the target commit for the tag must already exist on `wordpress-develop` and therefore its full workflow has already run, usually just minutes prior to the tag being pushed.

This change eliminates this unnecessary duplicate workflow run and reduces bottlenecks experienced during releases.

Developed in WordPress/wordpress-develop#12717

Props lancewillett, johnbillion

See #64893

Built from https://develop.svn.wordpress.org/trunk@62855


git-svn-id: http://core.svn.wordpress.org/trunk@62135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
@johnbillion

Copy link
Copy Markdown
Member Author

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants