Skip to content

Commit 4a20ae8

Browse files
committed
Fix collision name with GITHUB_TOKEN
1 parent a695908 commit 4a20ae8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
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-
GITHUB_TOKEN:
15+
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.GITHUB_TOKEN }}
36+
token: ${{ secrets.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-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
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-
GITHUB_TOKEN:
9+
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.GITHUB_TOKEN }}
32+
token: ${{ secrets.token }}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: MIT
33
---
44
# yamllint disable rule:line-length
5-
name: action-update-test
5+
name: action-update
66
'on':
77
schedule:
88
- cron: '0 2 * * *'
@@ -13,7 +13,7 @@ defaults:
1313
permissions:
1414
contents: read
1515
jobs:
16-
action-update-test:
16+
action-update:
1717
uses: fabriciofx/github-workflows/.github/workflows/action-update-template.yml@main
1818
secrets:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)