mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 13:00:00 +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:
|
fallback-runner:
|
||||||
description: 'Comma-separated label list or single label for the fallback (e.g. "ubuntu-latest")'
|
description: 'Comma-separated label list or single label for the fallback (e.g. "ubuntu-latest")'
|
||||||
required: true
|
required: true
|
||||||
github-token:
|
|
||||||
description: "PAT or GITHUB_TOKEN with `repo` scope"
|
|
||||||
required: true
|
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
use-runner:
|
use-runner:
|
||||||
@ -26,7 +23,7 @@ runs:
|
|||||||
id: pick
|
id: pick
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ inputs.github-token }}
|
TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }}
|
||||||
PRIMARY: ${{ inputs.primary-runner }}
|
PRIMARY: ${{ inputs.primary-runner }}
|
||||||
FALLBACK: ${{ inputs.fallback-runner }}
|
FALLBACK: ${{ inputs.fallback-runner }}
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user