Add comments to clarify token permissions in runner-fallback action

This commit is contained in:
Palash Tyagi 2025-05-05 00:47:14 +01:00
parent eb21f21dcb
commit 179553fe38

View File

@ -23,6 +23,8 @@ runs:
id: pick
shell: bash
env:
# token needs to have reop admin read permissions
# https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#list-self-hosted-runners-for-a-repository
TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }}
PRIMARY: ${{ inputs.primary-runner }}
FALLBACK: ${{ inputs.fallback-runner }}