Skip to content

ci: push the release over SSH with a deploy key - #64

Merged
Mearman merged 1 commit into
mainfrom
ci/release-deploy-key
Oct 31, 2026
Merged

Mearman merged 1 commit into
mainfrom
ci/release-deploy-key

Conversation

@Mearman

@Mearman Mearman commented Oct 31, 2026

Copy link
Copy Markdown
Member

A required-checks ruleset on main rejects a release commit pushed with the job token or an app token, and neither can be a bypass actor. The release job now provisions a write deploy key from the release environment (limited to main), points origin at the SSH URL so semantic-release pushes with it, and removes the key afterwards, as combinatrix, claude-code-action and dependency-heal do. The key and the ruleset's DeployKey bypass are already in place. The pull request's merge is the first release through it.

The release step passes --repository-url with the SSH URL, because semantic-release pushes to its repositoryUrl (by default package.json's https repository field), not to origin.

A required-checks ruleset on main rejects a release commit pushed with the job
token or an app token, and neither can be a bypass actor. The release job now
provisions a deploy key from the release environment, points origin at the SSH
URL so semantic-release pushes with it, and removes the key afterwards, as
combinatrix, claude-code-action and dependency-heal do.
@Mearman
Mearman enabled auto-merge (rebase) October 31, 2026 11:14
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-10-31T11:14:09.104081Z
We couldn’t complete this review. Comment @codex security review to try again.
bd3498f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit e8ba6d6 into main Oct 31, 2026
10 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.8.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Mearman
Mearman deleted the ci/release-deploy-key branch October 31, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant