Skip to content

Let the release job push past a protected main - #17

Merged
R3disme merged 1 commit into
mainfrom
release-deploy-key
Dec 2, 2026
Merged

R3disme merged 1 commit into
mainfrom
release-deploy-key

Conversation

@R3disme

@R3disme R3disme commented Dec 2, 2026

Copy link
Copy Markdown
Member

The release job now checks out with a deploy key when the RELEASE_DEPLOY_KEY secret exists, so its release commit can still reach main once main is protected. Without the secret it works exactly as before.

To finish #13 after merging:

  1. ssh-keygen -t ed25519 -N "" -C woggle-scripts-release -f release_key
  2. Repository settings → Deploy keys → add release_key.pub with write access
  3. Settings → Secrets → Actions → RELEASE_DEPLOY_KEY = the contents of release_key, then delete both files
  4. Then the ruleset on main can be added (pull request + 1 approval, scripts check, deploy key bypass)

Part of #13

Copilot AI balanced review requested due to automatic review settings December 2, 2026 16:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@R3disme R3disme added the In-Review Finished and waiting for a maintainer's review label Dec 2, 2026
@R3disme
R3disme merged commit f13d845 into main Dec 2, 2026
3 checks passed
@R3disme
R3disme deleted the release-deploy-key branch December 2, 2026 20:51
@R3disme R3disme mentioned this pull request Dec 2, 2026
3 tasks done
@R3disme R3disme removed the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
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