From 8a4804a1f7be50edb4f930e25fbf6f3090b06955 Mon Sep 17 00:00:00 2001 From: Seb3thehacker Date: Sun, 29 Nov 2026 19:48:40 -0800 Subject: [PATCH] Release builds sign only in the protected release environment, after approval --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9ecf2a..3b37c97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,10 @@ on: jobs: build: runs-on: ubuntu-latest + # The signing key lives only in this environment's secrets. The environment takes only v* + # tags, which only an admin can push, and waits for Seb's approval on GitHub before the job + # runs, so a pushed tag alone can't ship a signed build. + environment: release permissions: contents: write steps: