Skip to content

Commit b047d33

Browse files
mehdiraizedclaude
andcommitted
fix: remove GH_TOKEN from build steps to prevent electron-builder auto-publish
electron-builder auto-publishes when GH_TOKEN is set and running on a tag event. This conflicts with softprops/action-gh-release handling the release. Also skip code signing in CI with CSC_IDENTITY_AUTO_DISCOVERY=false. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0b45e01 commit b047d33

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Build macOS
3434
run: pnpm run build:mac
3535
env:
36-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
CSC_IDENTITY_AUTO_DISCOVERY: false # skip code signing in CI
3737

3838
- name: Upload macOS artifacts
3939
uses: actions/upload-artifact@v4
@@ -66,8 +66,6 @@ jobs:
6666

6767
- name: Build Windows
6868
run: pnpm run build:win
69-
env:
70-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7169

7270
- name: Upload Windows artifacts
7371
uses: actions/upload-artifact@v4
@@ -101,8 +99,6 @@ jobs:
10199

102100
- name: Build Linux
103101
run: pnpm run build:linux
104-
env:
105-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106102

107103
- name: Upload Linux artifacts
108104
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)