Skip to content

Commit a78027d

Browse files
authored
GitHub Actions: Fix typo GITHUB_TOKEN -> GH_TOKEN (#15)
1 parent 309bee1 commit a78027d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
if: steps.restore-micro-sfx.outputs.cache-hit != 'true'
118118
run: spc craft
119119
env:
120-
GITHUB_TOKEN: ${{ github.token }}
120+
GITHUB_TOKEN: ${{ github.token }} # Not a typo.
121121

122122
- name: Cache micro.sfx
123123
id: cache-micro-sfx
@@ -149,7 +149,7 @@ jobs:
149149
- name: Download nfpm
150150
run: gh release download --repo goreleaser/nfpm --pattern 'nfpm_*_arm64.deb' --output nfpm.deb
151151
env:
152-
GITHUB_TOKEN: ${{ github.token }}
152+
GH_TOKEN: ${{ github.token }}
153153
- name: Install nfpm
154154
run: sudo dpkg -i nfpm.deb
155155

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
tag: ${{ inputs.version }}
6767
publish: false
6868
env:
69-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
GITHUB_TOKEN: ${{ github.token }} # Not a typo.
7070

7171
deb:
7272
needs: drafter

0 commit comments

Comments
 (0)