Skip to content

ci: check out deploy script from the workflow ref, not the release tag - #157

Merged
superdav42 merged 1 commit into
masterfrom
fix/release-deploy-script-checkout
Nov 24, 2026
Merged

superdav42 merged 1 commit into
masterfrom
fix/release-deploy-script-checkout

Conversation

@superdav42

@superdav42 superdav42 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

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.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Bug fix

Merge Risk: Minimal · up to 6adf9

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 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.
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.

Share

Recent review info

Run configuration

Commits

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.

@superdav42
superdav42 merged commit 7db75a6 into master Nov 24, 2026
10 checks passed
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.

1 participant