Skip to content

Commit

Permalink
chore(benchmarks): fix secret name in benchmark workflows (#4936)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed May 25, 2022
1 parent 0f89e07 commit 9d6f3f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
env:
# gh cli uses these env vars for owner/repo/token
GH_REPO: "npm/benchmarks"
GITHUB_TOKEN: ${{ secrets.BENCHMARKS_DISPATCH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BENCHMARK_DISPATCH_TOKEN }}
run: |
if [[ "$GITHUB_TOKEN" == "" ]]; then
echo "No auth - from fork pull request, exiting"
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
startsWith(github.event.comment.body, '@npm-cli-bot benchmark this')
env:
# gh cli uses this env var as the token
GITHUB_TOKEN: ${{ secrets.NPM_BENCHMARKS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BENCHMARK_DISPATCH_TOKEN }}
run: |
OWNER="${{ github.event.repository.owner.login }}"
REPO="${{ github.event.repository.name }}"
Expand Down

0 comments on commit 9d6f3f9

Please sign in to comment.