Skip to content

Commit c4bf306

Browse files
authored
Rename env var to prevent error (#38)
1 parent d10b1b1 commit c4bf306

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
- name: Release
1616
run: cd .scripts && sh ./package.sh
1717
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
AUTHOR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
REVIEWER_TOKEN: ${{ secrets.REVIEWER_TOKEN }}

.scripts/package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ generate_swift_package () {
261261
}
262262

263263
login_default() {
264-
echo "$GITHUB_TOKEN" | gh auth login --with-token
264+
echo "$AUTHOR_TOKEN" | gh auth login --with-token
265265
}
266266

267267
login_reviewer() {

0 commit comments

Comments
 (0)