Skip to content

Repair wp/7.1 branch Actions: Remove obsolete and trunk-only workflows - #82787

Open
desrosj wants to merge 7 commits into
wp/7.1from
fix-actions-7.1/remove-rn-workflows
Open

desrosj wants to merge 7 commits into
wp/7.1from
fix-actions-7.1/remove-rn-workflows

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Part of #82781.

What?

Removes every workflow whose triggers make it trunk-only, from wp/7.1.

Workflow Purpose Reason removed
check-backport-changelog.yml Verifies a Core backport changelog entry pull_request: branches: [trunk] only
check-package-changelogs.yml Verifies package CHANGELOG.md updates pull_request: branches: [trunk] only
stale-issue-gardening.yml Closes stale issues on a schedule GitHub only ever runs a scheduled workflow using the default branch's copy
sync-backport-changelog.yml Syncs Core backport changelog issues push: branches: [trunk], plus an issues: labeled trigger that — like the schedule case above — isn't tied to any git ref, so GitHub always runs it from the default branch's copy too
sync-assets-to-plugin-repo.yml Syncs assets/** to the WordPress.org plugin repo push: branches: [trunk] only
cherry-pick-wp-release.yml Auto cherry-picks labeled PRs to wp/X.Y branches Triggers only on pushes/labeled PRs against trunk; this branch is its destination, never its trigger source
storybook-pages.yml Deploys the canonical Storybook GitHub Pages site push: branches: [trunk] only
upload-release-to-plugin-repo.yml Publishes a Gutenberg plugin release to WordPress.org Triggers on release: types: [published]; in practice, releases are only ever published from release/X.Y branches, not from numbered wp/X.Y branches, so this branch is never the context a release actually happens in
pull-request-automation.yml Assigns fixed issues and labels first-time contributors on new pull requests pull_request_target runs always use trunk's copy of the file, and its push-triggered tasks return immediately outside trunk, so this branch's copy never does anything
enforce-pr-labels.yml Requires exactly one [Type] label on each pull request pull_request_target only, and those runs always use trunk's copy of the file, so this branch's copy never runs
pr-labeling-automation.yml Labels pull requests based on the files they change pull_request_target only, and those runs always use trunk's copy of the file, so this branch's copy never runs

No React Native mobile workflows or gradle-wrapper-validation.yml exist on this branch at all — it was cut after those were already removed from trunk.

Why?

Keeping dead or inapplicable workflow files around adds maintenance surface (stale action pins, lint noise) with no corresponding benefit.

The workflows removed cannot be meaningfully executed against a branch other than trunk.

  • For schedule events, the event only ever fires for the default branch.
  • Most others are responsible for automation that is only relevant to upcoming plugin releases, which occur from trunk (except minor releases, which come from the respective release/X.Y branch).

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

Summary by CodeRabbit

  • Chores
    • Removed automated pull request and backport changelog checks.
    • Removed automatic cherry-picking to WordPress release branches.
    • Removed first-time contributor messaging and profile prompts.
    • Removed scheduled stale-issue management.
    • Removed automated Storybook deployment to GitHub Pages.
    • Removed asset synchronization and release publishing workflows for the WordPress.org plugin repository.

@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ba869909-c325-4b6b-8513-1becc567bd9e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 60c1a4c5-e4df-4688-89ce-c1403c9cb8b4

📥 Commits

Reviewing files that changed from the base of the PR and between dd294ab and 3717c4f.

📒 Files selected for processing (9)
  • .github/workflows/check-backport-changelog.yml
  • .github/workflows/check-package-changelogs.yml
  • .github/workflows/cherry-pick-wp-release.yml
  • .github/workflows/pull-request-automation.yml
  • .github/workflows/stale-issue-gardening.yml
  • .github/workflows/storybook-pages.yml
  • .github/workflows/sync-assets-to-plugin-repo.yml
  • .github/workflows/sync-backport-changelog.yml
  • .github/workflows/upload-release-to-plugin-repo.yml
💤 Files with no reviewable changes (9)
  • .github/workflows/sync-backport-changelog.yml
  • .github/workflows/cherry-pick-wp-release.yml
  • .github/workflows/stale-issue-gardening.yml
  • .github/workflows/check-backport-changelog.yml
  • .github/workflows/pull-request-automation.yml
  • .github/workflows/sync-assets-to-plugin-repo.yml
  • .github/workflows/upload-release-to-plugin-repo.yml
  • .github/workflows/check-package-changelogs.yml
  • .github/workflows/storybook-pages.yml

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

Nine GitHub Actions workflows were deleted. The removed workflows covered pull request validation, backporting, issue maintenance, Storybook deployment, asset synchronization, and plugin release publishing.

Changes: Workflow removal

Layer / File(s) Summary
Pull request validation automation
.github/workflows/check-backport-changelog.yml, .github/workflows/check-package-changelogs.yml, .github/workflows/pull-request-automation.yml
Removed changelog validation, project-management automation, contributor welcome comments, and profile-link prompts.
Backport and issue maintenance automation
.github/workflows/cherry-pick-wp-release.yml, .github/workflows/sync-backport-changelog.yml, .github/workflows/stale-issue-gardening.yml
Removed release-branch cherry-picking, backport changelog synchronization, and scheduled stale-issue processing.
Repository publishing automation
.github/workflows/storybook-pages.yml, .github/workflows/sync-assets-to-plugin-repo.yml
Removed Storybook GitHub Pages deployment and WordPress.org plugin asset synchronization.
Plugin release publishing
.github/workflows/upload-release-to-plugin-repo.yml
Removed release validation, changelog updates, SVN tag handling, and plugin publishing jobs.

Priority: Low

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Merge Risk: Minimal · up to 3717c

The removed workflows are obsolete for this branch, with no remaining concrete merge-blocking risk identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: removing obsolete and trunk-only GitHub Actions workflows from the wp/7.1 branch.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-actions-7.1/remove-rn-workflows
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI 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.

🔵 Needs a closer look

Preserve or split pull-request automation because it also serves PRs targeting wp/7.1.

Pull request overview

Removes obsolete or trunk-specific GitHub Actions workflows from wp/7.1.

Changes:

  • Removes changelog, backport, asset-sync, Storybook, stale-issue, and release workflows.
  • Removes cherry-pick and pull-request automation.
File summaries
File Reviewed change
.github/workflows/upload-release-to-plugin-repo.yml Removes release publishing automation.
.github/workflows/sync-backport-changelog.yml Removes backport changelog synchronization.
.github/workflows/sync-assets-to-plugin-repo.yml Removes asset synchronization.
.github/workflows/storybook-pages.yml Removes Storybook deployment.
.github/workflows/stale-issue-gardening.yml Removes scheduled issue maintenance.
.github/workflows/pull-request-automation.yml Removes pull-request labeling and welcome automation.
.github/workflows/cherry-pick-wp-release.yml Removes release cherry-picking automation.
.github/workflows/check-package-changelogs.yml Removes package changelog validation.
.github/workflows/check-backport-changelog.yml Removes backport changelog validation.
Review details

Suppressed comments (1)

.github/workflows/pull-request-automation.yml:1

  • Unlike the other deleted workflows, this one is not trunk-only: pull_request_target has no branches filter, so it runs for PRs targeting wp/7.1. The PR-opened handlers do not check the base branch (packages/project-management-automation/lib/index.js:36-46), so deleting this file removes fixed-issue assignment and first-time-contributor labeling/welcome output for backport-branch PRs; retain or split those jobs and gate only the push-only trunk automation.
  • Files reviewed: 9/9 changed files
  • Comments generated: 0
  • Review effort level: Lite (auto)

Note

Copilot is running an experiment and ran this review at Lite.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@desrosj
desrosj marked this pull request as ready for review September 14, 2026 01:29
@desrosj
desrosj requested a balanced review from Copilot September 14, 2026 01:29
@github-actions

github-actions Bot commented Sep 14, 2026 •

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

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
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved issues were identified in the reviewed workflow removals.

Review details
  • Files reviewed: 8/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite (auto)

Note

Copilot is running an experiment and ran this review at Lite.

@desrosj
desrosj marked this pull request as draft September 14, 2026 01:40
@desrosj
desrosj marked this pull request as ready for review September 14, 2026 01:43
@desrosj
desrosj removed this pull request from stack #82796 September 22, 2026 16:26
@desrosj
desrosj force-pushed the fix-actions-7.1/remove-rn-workflows branch from 7708c31 to 4ac36e2 Compare September 22, 2026 16:27
@desrosj
desrosj added this pull request to stack #83383 September 22, 2026 16:29
@desrosj
desrosj removed this pull request from stack #83383 September 22, 2026 23:50
@desrosj
desrosj force-pushed the fix-actions-7.1/remove-rn-workflows branch from 4ac36e2 to 50fbd81 Compare September 22, 2026 23:51
@desrosj
desrosj added this pull request to stack #83417 September 22, 2026 23:52
@desrosj
desrosj removed this pull request from stack #83417 September 28, 2026 15:31
@desrosj
desrosj added this pull request to stack #83629 September 28, 2026 15:31
…l_request_target` runs always use the workflow file from trunk, so this branch's copies never run.
@desrosj
desrosj removed this pull request from stack #83629 October 8, 2026 21:07
@desrosj
desrosj force-pushed the fix-actions-7.1/remove-rn-workflows branch from 50fbd81 to 525ca70 Compare October 8, 2026 21:08
@desrosj
desrosj added this pull request to stack #84346 October 8, 2026 21:10
@desrosj
desrosj removed this pull request from stack #84346 October 9, 2026 23:21
@desrosj
desrosj added this pull request to stack #84466 October 9, 2026 23:23
@desrosj
desrosj removed this pull request from stack #84466 October 21, 2026 18:35
@desrosj
desrosj added this pull request to stack #85326 October 21, 2026 18:36
@desrosj
desrosj removed this pull request from stack #85326 October 24, 2026 18:04
@desrosj
desrosj added this pull request to stack #85508 October 24, 2026 18:04

This branch has not been deployed

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

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants