From 9d6f3f9c410753bf9412ddfeac6a000feccd14f0 Mon Sep 17 00:00:00 2001 From: nlf Date: Wed, 25 May 2022 09:56:36 -0700 Subject: [PATCH] chore(benchmarks): fix secret name in benchmark workflows (#4936) --- .github/workflows/benchmark.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ea91968243d4f..7dcba88d9052b 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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" @@ -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 }}"