refactor: reusable WP.org release workflow#226
Merged
rbcorrales merged 2 commits intorefactor/deprecate-circle-cifrom Jan 30, 2026
Merged
refactor: reusable WP.org release workflow#226rbcorrales merged 2 commits intorefactor/deprecate-circle-cifrom
rbcorrales merged 2 commits intorefactor/deprecate-circle-cifrom
Conversation
This was referenced Jan 30, 2026
There was a problem hiding this comment.
Pull request overview
This PR introduces a reusable workflow for publishing WordPress plugins to WordPress.org, adapting the previous CircleCI workspace-based approach to GitHub Actions' artifact system.
Changes:
- Adds artifact upload to the release workflow with 1-day retention for transient inter-job communication
- Creates a new reusable WordPress.org release workflow that downloads release artifacts and executes the publishing script
- Implements verification to ensure the expected plugin directory structure exists before attempting to publish
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/reusable-release.yml |
Adds artifact upload step for the release directory with 1-day retention |
.github/workflows/reusable-release-wporg.yml |
New reusable workflow that downloads release artifacts, verifies structure, and publishes to WordPress.org |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
miguelpeixe
approved these changes
Jan 30, 2026
27edf10
into
refactor/deprecate-circle-ci
5 of 6 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repos migrating from CircleCI to GitHub Actions that publish to WP.org had a
release-wporgjob that did a fresh checkout +npm cibut never built therelease/directory thatrelease-wporg.shexpects.In CircleCI, this worked via
persist_to_workspace/attach_workspace. This PR tries to bridge that gap usingupload-artifact/download-artifact:reusable-release-wporg.yml, a reusable workflow for publishing to WordPress.org that downloads release artifacts from the release job and runsrelease-wporg.sh.plugin-nameinput (defaults to the repository name) for repos where the WP.org slug differs.release/<plugin-name>directory is missing. For the existing cases, the repo names should match, but this could become useful in the future.retention-days: 1to the release artifact upload inreusable-release.yml, since these artifacts are only needed as transitory glue between the release and WP.org release jobs within the same workflow run.Consuming PRs: