From 5e5741dc3e77618a50c689237bd5aaf1b6dd413f Mon Sep 17 00:00:00 2001 From: Dennis Falling Date: Wed, 3 Jun 2026 23:03:30 +0100 Subject: [PATCH] Fix release deploy: clear inherited GITHUB_TOKEN for SOPS step mise-action exports a job-wide GITHUB_TOKEN while setup-sops also passes its own default token input. octokit's auth-action rejects a token specified more than once, crashing the Install SOPS step and failing every release build. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1297907..262238a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,6 +56,12 @@ jobs: - name: Install SOPS uses: nhedger/setup-sops@v2 + env: + # mise-action exports a job-wide GITHUB_TOKEN; setup-sops also passes + # its own default `token` input. octokit's auth-action rejects the + # token being specified twice, so clear the inherited env var here and + # let the action use its own input. + GITHUB_TOKEN: '' - name: Decrypt signing secrets env: