From: Jérémie Astor Date: Mon, 21 Sep 2020 22:08:20 +0000 (+0200) Subject: :wrench: Add benchmark token X-Git-Tag: nightly~1274 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=19880be6681532c5cfd08bd54fd2bc45ac5c8d4e;p=gwion.git :wrench: Add benchmark token --- diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 0f8dcaf3..f5957b20 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -16,4 +16,4 @@ jobs: ORG: fennecdjay REPO: gwion-benchmark run: | - curl -d "{\"event_type\": \"${EVENT}\"}" -H "Content-Type: application/json" -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches" + curl -d "{\"event_type\": \"${EVENT}\"}" -H "Content-Type: application/json" -H "Authorization: token ${{ secrets.BENCHMARK_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches"