diff --git a/.github/workflows/lighthouse-badger.yml b/.github/workflows/lighthouse-badger.yml index 37628ca05bcc..addec2d3165c 100644 --- a/.github/workflows/lighthouse-badger.yml +++ b/.github/workflows/lighthouse-badger.yml @@ -15,7 +15,6 @@ name: "Lighthouse Badger" # INPUTS as Secrets (env) for not manually triggered workflows env: URLS: https://alshedivat.github.io/al-folio/ - TOKEN_NAME: ${{ secrets.LIGHTHOUSE_BADGER_TOKEN }} # If any of the following env is blank, a default value is used instead REPO_BRANCH: "${{ github.repository }} master" # target repository & branch e.g. 'dummy/mytargetrepo main' MOBILE_LIGHTHOUSE_PARAMS: "--only-categories=performance,accessibility,best-practices,seo --throttling.cpuSlowdownMultiplier=2" @@ -50,7 +49,7 @@ jobs: - uses: actions/checkout@v4 with: repository: ${{ env.REPOSITORY }} - token: ${{ secrets[github.event.inputs.token_name] || secrets[env.TOKEN_NAME] }} + token: ${{ secrets.LIGHTHOUSE_BADGER_TOKEN }} ref: ${{ env.BRANCH }} - uses: actions/checkout@v4 with: