Update GitHub token input to require CUSTOM_GH_TOKEN for authentication in workflows

This commit is contained in:
Palash Tyagi
2025-05-05 01:04:56 +01:00
parent 80083ce77c
commit 7e27539529
4 changed files with 10 additions and 5 deletions

View File

@@ -12,18 +12,22 @@ concurrency:
jobs:
pick-runner:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
outputs:
runner: ${{ steps.choose.outputs.use-runner }}
steps:
- uses: actions/checkout@v4
- id: choose
uses: ./.github/actions/runner-fallback
with:
primary-runner: "self-hosted"
fallback-runner: "ubuntu-latest"
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.CUSTOM_GH_TOKEN }}
run-unit-tests:
needs: pick-runner