Skip to content

fix: push releases with a deploy key#163

Merged
piscisaureus merged 1 commit into
mainfrom
release-deploy-key
Jun 6, 2026
Merged

fix: push releases with a deploy key#163
piscisaureus merged 1 commit into
mainfrom
release-deploy-key

Conversation

@piscisaureus

Copy link
Copy Markdown
Member

The main branch ruleset rejects direct pushes from the workflow
token, and the GitHub Actions app cannot be added as a bypass actor
on this repository. The release workflow now pushes with a deploy
key (RELEASE_DEPLOY_KEY secret) that is exempted from the ruleset
via a deploy-key bypass.

Deploy key pushes also trigger workflows normally, unlike workflow
token pushes, so the tag push now starts the ci, npm, and docker
publishes by itself and the explicit dispatch step is gone. The
workflow_dispatch triggers on those workflows stay for manual
recovery.

The main branch ruleset rejects direct pushes from the workflow
token, and the GitHub Actions app cannot be added as a bypass actor
on this repository. The release workflow now pushes with a deploy
key (RELEASE_DEPLOY_KEY secret) that is exempted from the ruleset
via a deploy-key bypass.

Deploy key pushes also trigger workflows normally, unlike workflow
token pushes, so the tag push now starts the ci, npm, and docker
publishes by itself and the explicit dispatch step is gone. The
workflow_dispatch triggers on those workflows stay for manual
recovery.
@piscisaureus piscisaureus merged commit d16f5c5 into main Jun 6, 2026
25 checks passed
@piscisaureus piscisaureus deleted the release-deploy-key branch June 6, 2026 08:34
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