mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 07:09:59 +00:00
Remove github-token input and use CUSTOM_GH_TOKEN secret for authentication in runner-fallback action
This commit is contained in:
parent
5f1bb68723
commit
eb21f21dcb
5
.github/actions/runner-fallback/action.yml
vendored
5
.github/actions/runner-fallback/action.yml
vendored
@ -10,9 +10,6 @@ inputs:
|
||||
fallback-runner:
|
||||
description: 'Comma-separated label list or single label for the fallback (e.g. "ubuntu-latest")'
|
||||
required: true
|
||||
github-token:
|
||||
description: "PAT or GITHUB_TOKEN with `repo` scope"
|
||||
required: true
|
||||
|
||||
outputs:
|
||||
use-runner:
|
||||
@ -26,7 +23,7 @@ runs:
|
||||
id: pick
|
||||
shell: bash
|
||||
env:
|
||||
TOKEN: ${{ inputs.github-token }}
|
||||
TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }}
|
||||
PRIMARY: ${{ inputs.primary-runner }}
|
||||
FALLBACK: ${{ inputs.fallback-runner }}
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user