Skip to content

chore(release): fix release publishing step#170

Merged
kruton merged 1 commit into
connectbot:mainfrom
kruton:publish-action-fix
May 23, 2026
Merged

chore(release): fix release publishing step#170
kruton merged 1 commit into
connectbot:mainfrom
kruton:publish-action-fix

Conversation

@kruton
Copy link
Copy Markdown
Member

@kruton kruton commented May 23, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 23, 2026 05:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the release publishing automation to explicitly validate that a release PR’s required checks are present and have all passed before proceeding, addressing reliability of the publish gate.

Changes:

  • Replace gh pr checks --fail-fast usage with JSON-based required-check evaluation via jq.
  • Fail publishing when no required checks are reported, or when any required check is not in the "pass" bucket.
  • Update the Bats test stub and assertion to reflect the new gh pr checks --json ... invocation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/scripts/publish-release.sh Adds explicit parsing/validation of required PR checks before tagging and pushing.
.github/tests/release-scripts.bats Extends gh stub to support pr checks and updates the publish-release test assertion.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/scripts/publish-release.sh
@kruton kruton force-pushed the publish-action-fix branch from 4d02a3d to e7482ac Compare May 23, 2026 05:53
@kruton kruton merged commit 1c87a6e into connectbot:main May 23, 2026
11 checks passed
@kruton kruton deleted the publish-action-fix branch May 23, 2026 05:56
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.

2 participants