Skip to content

Commit d6e1367

Browse files
committed
Rename token secret parameter to github_token
1 parent 4a20ae8 commit d6e1367

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/action-security-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ name: action-security-template
1212
default: ".github/workflows/"
1313
type: string
1414
secrets:
15-
token:
15+
github_token:
1616
description: "GitHub Token"
1717
required: true
1818
defaults:
@@ -33,5 +33,5 @@ jobs:
3333
- name: Run zizmor
3434
uses: zizmorcore/zizmor-action@873539476a7f9b0da7504d0d9e9a6a5275094d98
3535
with:
36-
token: ${{ secrets.token }}
36+
token: ${{ secrets.github_token }}
3737
inputs: ${{ inputs.working-directory }}

.github/workflows/action-security-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
action-security-test:
2121
uses: fabriciofx/github-workflows/.github/workflows/action-security-template.yml@main
2222
secrets:
23-
token: ${{ secrets.GITHUB_TOKEN }}
23+
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/action-update-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: action-update-template
66
'on':
77
workflow_call:
88
secrets:
9-
token:
9+
github_token:
1010
description: "GitHub token"
1111
required: true
1212
defaults:
@@ -29,4 +29,4 @@ jobs:
2929
- name: Run Renovate
3030
uses: renovatebot/github-action@ed4d0bb582ff6e994d0252a7715bd5b80f25d106
3131
with:
32-
token: ${{ secrets.token }}
32+
token: ${{ secrets.github_token }}

0 commit comments

Comments
 (0)