Skip to content

Repair wp/7.0 branch Actions: Remove obsolete and trunk-only workflows - #82797

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

desrosj wants to merge 9 commits into
wp/7.0from
fix-actions-7.0/remove-rn-workflows

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Part of #82782.

What?

Removes obsolete React Native mobile workflows, every workflow whose triggers make it trunk-only, and the performance tests, which are only maintained for the current WordPress release, from wp/7.0.

Workflow Purpose Reason removed
rnmobile-ios-runner.yml React Native iOS E2E tests Hardcodes if: false; has not run since before this branch existed
rnmobile-android-runner.yml React Native Android E2E tests Hardcodes if: false; has not run since before this branch existed
gradle-wrapper-validation.yml Validates the Gradle wrapper used by the Android tooling above Equally unused now that the tooling it validates never runs
storybook-pages.yml Deploys the canonical Storybook GitHub Pages site push: branches: [trunk] only
check-backport-changelog.yml Verifies a Core backport changelog entry pull_request: branches: [trunk] only
check-components-changelog.yml Verifies a @wordpress/components changelog entry pull_request: branches: [trunk] only
check-dataviews-changelog.yml Verifies a @wordpress/dataviews changelog entry pull_request: branches: [trunk] only
upload-release-to-plugin-repo.yml Publishes a Gutenberg plugin release to WordPress.org Triggers on GitHub release publication; releases are cut from trunk/release branches, never wp/X.Y
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
sync-backport-changelog.yml Syncs Core backport changelog issues push: branches: [trunk], plus an issues: labeled trigger that isn't tied to any git ref — like the schedule case below, GitHub always runs it from the default branch's copy regardless of what's on this branch
stale-issue-gardening.yml Closes stale issues on a schedule GitHub only ever runs a scheduled workflow using the default branch's copy
performance.yml Performance tests Performance testing is only maintained on the branch for the current WordPress release
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

Why?

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

Apart from the performance tests, which are only maintained for the current WordPress release, 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 several automated workflows for changelog validation, backporting, release publishing, asset synchronization, pull request automation, and issue maintenance.
    • Removed automated Android and iOS end-to-end test workflows.
    • Removed Gradle wrapper validation and Storybook deployment workflows.

@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
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 39ebe032-5383-4ac8-b0d5-f589f5b011b8

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: c94dd05a-c763-4a56-8bf7-e65c5b6c3ea6

📥 Commits

Reviewing files that changed from the base of the PR and between 28c0ded and cab0304.

📒 Files selected for processing (13)
  • .github/workflows/check-backport-changelog.yml
  • .github/workflows/check-components-changelog.yml
  • .github/workflows/check-dataviews-changelog.yml
  • .github/workflows/cherry-pick-wp-release.yml
  • .github/workflows/gradle-wrapper-validation.yml
  • .github/workflows/pull-request-automation.yml
  • .github/workflows/rnmobile-android-runner.yml
  • .github/workflows/rnmobile-ios-runner.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 (13)
  • .github/workflows/rnmobile-ios-runner.yml
  • .github/workflows/storybook-pages.yml
  • .github/workflows/check-dataviews-changelog.yml
  • .github/workflows/check-backport-changelog.yml
  • .github/workflows/gradle-wrapper-validation.yml
  • .github/workflows/pull-request-automation.yml
  • .github/workflows/cherry-pick-wp-release.yml
  • .github/workflows/check-components-changelog.yml
  • .github/workflows/upload-release-to-plugin-repo.yml
  • .github/workflows/rnmobile-android-runner.yml
  • .github/workflows/sync-backport-changelog.yml
  • .github/workflows/stale-issue-gardening.yml
  • .github/workflows/sync-assets-to-plugin-repo.yml

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

📝 Walkthrough

This change deletes 13 GitHub Actions workflows. The removed workflows covered changelog checks, backports, releases, repository automation, React Native tests, Storybook deployment, and plugin repository synchronization.

Changes: GitHub Actions workflow removal

Layer / File(s) Summary
Changelog and backport automation
.github/workflows/check-backport-changelog.yml, .github/workflows/check-components-changelog.yml, .github/workflows/check-dataviews-changelog.yml, .github/workflows/sync-backport-changelog.yml
Removed changelog validation and backport changelog synchronization workflows.
Release and plugin publishing
.github/workflows/cherry-pick-wp-release.yml, .github/workflows/upload-release-to-plugin-repo.yml
Removed automatic WordPress core cherry-picking and WordPress.org plugin release publishing workflows.
Repository checks and maintenance
.github/workflows/gradle-wrapper-validation.yml, .github/workflows/pull-request-automation.yml, .github/workflows/stale-issue-gardening.yml
Removed Gradle wrapper validation, pull request automation, and stale issue maintenance workflows.
Testing, deployment, and repository synchronization
.github/workflows/rnmobile-android-runner.yml, .github/workflows/rnmobile-ios-runner.yml, .github/workflows/storybook-pages.yml, .github/workflows/sync-assets-to-plugin-repo.yml
Removed React Native E2E testing, Storybook Pages deployment, and plugin asset synchronization workflows.

Priority: ⬇️ Low

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to cab03

No actionable merge risk was 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 summarizes the main change: it removes obsolete and trunk-only GitHub Actions workflows from the wp/7.0 branch.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-actions-7.0/remove-rn-workflows

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.

🟢 Approval recommended

The removals align with each workflow’s trigger semantics and do not eliminate meaningful wp/7.0 automation.

Pull request overview

Removes workflows from wp/7.0 that are disabled, trunk-specific, or executed from the default branch.

Changes:

  • Removes disabled React Native workflows and related Gradle validation.
  • Removes trunk-only release, deployment, and changelog automation.
  • Removes redundant repository-management workflows.
File summaries
File Description
check-backport-changelog.yml Removes trunk-only backport validation.
check-components-changelog.yml Removes trunk-only Components validation.
check-dataviews-changelog.yml Removes trunk-only DataViews validation.
cherry-pick-wp-release.yml Removes trunk-originated cherry-picking.
gradle-wrapper-validation.yml Removes validation for unused mobile tooling.
pull-request-automation.yml Removes the redundant branch copy.
rnmobile-android-runner.yml Removes disabled Android E2E tests.
rnmobile-ios-runner.yml Removes disabled iOS E2E tests.
stale-issue-gardening.yml Removes default-branch scheduled automation.
storybook-pages.yml Removes trunk-only Storybook deployment.
sync-assets-to-plugin-repo.yml Removes trunk-only asset synchronization.
sync-backport-changelog.yml Removes trunk/default-branch synchronization.
upload-release-to-plugin-repo.yml Removes plugin-release publishing automation.
Review details
  • Files reviewed: 13/13 changed files
  • Comments generated: 0
  • Review effort level: Balanced

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

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

Removing the active Gradle wrapper validation leaves backports without wrapper-integrity checks.

Review details

Suppressed comments (1)

.github/workflows/gradle-wrapper-validation.yml:1

  • This workflow is not inactive like the mobile E2E jobs: it runs on every push and PR and validates the three committed, executable Gradle wrapper JARs. wp/X.Y branches still receive bug/security backports (docs/contributors/code/release/package-release-and-core-updates.md:42-52), so deleting this check removes the only wrapper-integrity validation from changes targeting this branch. Please retain it, optionally narrowing it with path filters for the wrapper files.
  • Files reviewed: 12/12 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@desrosj
desrosj marked this pull request as ready for review September 14, 2026 16:59
@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.

@desrosj
desrosj removed this pull request from stack #82812 September 22, 2026 16:29
@desrosj
desrosj force-pushed the fix-actions-7.0/remove-rn-workflows branch from 2496ed1 to bb1c733 Compare September 22, 2026 16:30
@desrosj
desrosj added this pull request to stack #83387 September 22, 2026 16:33
@desrosj
desrosj removed this pull request from stack #83387 September 22, 2026 21:48
@desrosj
desrosj force-pushed the fix-actions-7.0/remove-rn-workflows branch from bb1c733 to 80020a7 Compare September 22, 2026 21:49
@desrosj
desrosj added this pull request to stack #83409 September 22, 2026 21:52
@desrosj
desrosj removed this pull request from stack #83409 September 28, 2026 15:38
@desrosj
desrosj added this pull request to stack #83630 September 28, 2026 15:43
@desrosj
desrosj removed this pull request from stack #83630 October 7, 2026 18:13
…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 #84187 October 8, 2026 21:10
@desrosj
desrosj force-pushed the fix-actions-7.0/remove-rn-workflows branch from e11e87a to b823ba2 Compare October 8, 2026 21:12
@desrosj
desrosj added this pull request to stack #84347 October 8, 2026 21:13
@desrosj
desrosj removed this pull request from stack #84347 October 9, 2026 23:27
@desrosj
desrosj added this pull request to stack #84468 October 9, 2026 23:30

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

Note that deletion of performance.yml affects #84170 changes to the same file.

@desrosj
desrosj removed this pull request from stack #84468 October 21, 2026 18:35
@desrosj
desrosj added this pull request to stack #85325 October 21, 2026 18:35

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