You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: check out deploy script from the workflow ref, not the release tag - #157
The first manual run for 3.4.2 failed in the deploy job (nothing was deployed): it checked out the 3.4.2 tag, which predates bin/deploy-wporg.sh. The deploy job now checks out the workflow's own ref; the ZIP still comes from the build artifact.
Summary by CodeRabbit
Chores
Updated the release publishing process to use the workflow’s own revision when preparing a WordPress.org deployment.
The packaged ZIP build continues to be used for deployment.
These changes affect release publishing only; no changes to application features or user-facing behavior are included.
No actionable comments were generated in the recent review.
Walkthrough
The WordPress.org deployment job now checks out the workflow’s ref instead of the release tag. It continues to download the ZIP build artifact and pass it to the deployment script.
Changes: Release deployment
Layer / File(s)
Summary
Deployment checkout .github/workflows/release.yml
The deployment job checks out the workflow’s ref and removes the explicit release-tag ref. It continues to use the ZIP build artifact with the deployment script.
The deploy job now uses the workflow's own ref to get the deployment script, so releasing older tags no longer fails on a missing script. No merge-blocking risk was identified.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: the deploy job now checks out the deploy script from the workflow ref instead of the release tag. The raw summary confirms that the checkout ref changed in .github/wor…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: the deploy job now checks out the deploy script from the workflow ref instead of the release tag. The raw summary confirms that the checkout ref changed in .github/workflows/release.yml, and the PR objectives state the same intent. The title is specific and matches the changeset.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
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.
Reviewing files that changed from the base of the PR and between 65c0d27 and 6adf906.
Files selected for processing: 1
.github/workflows/release.yml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
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
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 first manual run for 3.4.2 failed in the deploy job (nothing was deployed): it checked out the 3.4.2 tag, which predates bin/deploy-wporg.sh. The deploy job now checks out the workflow's own ref; the ZIP still comes from the build artifact.
Summary by CodeRabbit