Skip to content

Commit d8b0691

Browse files
dfallingclaude
andauthored
Fix release deploy: clear inherited GITHUB_TOKEN for SOPS step (#27)
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) <noreply@anthropic.com>
1 parent 3602cc2 commit d8b0691

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
5757
- name: Install SOPS
5858
uses: nhedger/setup-sops@v2
59+
env:
60+
# mise-action exports a job-wide GITHUB_TOKEN; setup-sops also passes
61+
# its own default `token` input. octokit's auth-action rejects the
62+
# token being specified twice, so clear the inherited env var here and
63+
# let the action use its own input.
64+
GITHUB_TOKEN: ''
5965

6066
- name: Decrypt signing secrets
6167
env:

0 commit comments

Comments
 (0)