Skip to content

Commit 42c8f3f

Browse files
committed
fix: changed secret name because of reserved name
1 parent 530c018 commit 42c8f3f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ on:
77
branches: [ main ]
88
workflow_call:
99
secrets:
10-
GITHUB_TOKEN:
10+
token:
1111
required: true
12+
description: "GitHub token for authentication"
1213
workflow_dispatch:
1314

1415
jobs:
@@ -29,7 +30,7 @@ jobs:
2930
contents: read
3031
pull-requests: read
3132
secrets:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GITHUB_TOKEN: ${{ secrets.token }}
3334

3435
test:
3536
name: Run Tests

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
pull-requests: read
3939
checks: write
4040
secrets:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
token: ${{ secrets.GITHUB_TOKEN }}
4242

4343
release:
4444
name: Create Release

0 commit comments

Comments
 (0)