From eb21f21dcb2a47a4fb7314bb42eb49528d041e30 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Mon, 5 May 2025 00:46:21 +0100 Subject: [PATCH] Remove github-token input and use CUSTOM_GH_TOKEN secret for authentication in runner-fallback action --- .github/actions/runner-fallback/action.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/actions/runner-fallback/action.yml b/.github/actions/runner-fallback/action.yml index 9b9ec37..cc66ecb 100644 --- a/.github/actions/runner-fallback/action.yml +++ b/.github/actions/runner-fallback/action.yml @@ -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: |