From 179553fe38cff12134702ac594cf9f711e8410c9 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Mon, 5 May 2025 00:47:14 +0100 Subject: [PATCH] Add comments to clarify token permissions in runner-fallback action --- .github/actions/runner-fallback/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/runner-fallback/action.yml b/.github/actions/runner-fallback/action.yml index cc66ecb..0a31714 100644 --- a/.github/actions/runner-fallback/action.yml +++ b/.github/actions/runner-fallback/action.yml @@ -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 }}