Skip to content

Commit 51b16ca

Browse files
committed
fix(actions): rename secrets token to no collide with gh standard
1 parent 0ad9333 commit 51b16ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/shared-license.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
default: true
1515
type: boolean
1616
secrets:
17-
github_token:
17+
pas:
1818
description: "The token to use for the job"
1919
required: false
2020

@@ -51,7 +51,7 @@ jobs:
5151
- name: Checkout
5252
uses: actions/checkout@v4
5353
with:
54-
token: ${{ secrets.github_token != '' && secrets.github_token || secrets.GITHUB_TOKEN }}
54+
token: ${{ secrets.pas != '' && secrets.pas || secrets.GITHUB_TOKEN }}
5555
repository: ${{ github.event.pull_request.head.repo.full_name }}
5656
ref: ${{ github.event.pull_request.head.ref }}
5757

0 commit comments

Comments
 (0)