Skip to content

Commit 6ff8ccd

Browse files
authored
Merge pull request #7 from bencherdev/api-token-to-key
Use --key/BENCHER_API_KEY instead of deprecated --token
2 parents d6dfe45 + 2652143 commit 6ff8ccd

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/base_benchmarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: |
1616
bencher run \
1717
--project example \
18-
--token '${{ secrets.BENCHER_API_TOKEN }}' \
18+
--key '${{ secrets.BENCHER_API_KEY }}' \
1919
--branch main \
2020
--testbed ubuntu-latest \
2121
--threshold-measure latency \

‎.github/workflows/fork_pr_benchmarks_closed.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
run: |
1414
bencher archive \
1515
--project example \
16-
--token '${{ secrets.BENCHER_API_TOKEN }}' \
16+
--key '${{ secrets.BENCHER_API_KEY }}' \
1717
--branch "$GITHUB_HEAD_REF"

‎.github/workflows/fork_pr_benchmarks_track.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
bencher run \
4343
--project example \
44-
--token '${{ secrets.BENCHER_API_TOKEN }}' \
44+
--key '${{ secrets.BENCHER_API_KEY }}' \
4545
--branch "$PR_HEAD" \
4646
--hash "$PR_HEAD_SHA" \
4747
--start-point "$PR_BASE" \

‎.github/workflows/pr_benchmarks.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
run: |
1818
bencher run \
1919
--project example \
20-
--token '${{ secrets.BENCHER_API_TOKEN }}' \
21-
--branch "$GITHUB_HEAD_REF"
20+
--key '${{ secrets.BENCHER_API_KEY }}' \
21+
--branch "$GITHUB_HEAD_REF" \
2222
--start-point "$GITHUB_BASE_REF" \
2323
--start-point-hash '${{ github.event.pull_request.base.sha }}' \
2424
--start-point-clone-thresholds \

‎.github/workflows/pr_benchmarks_closed.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
run: |
1616
bencher archive \
1717
--project example \
18-
--token '${{ secrets.BENCHER_API_TOKEN }}' \
18+
--key '${{ secrets.BENCHER_API_KEY }}' \
1919
--branch "$GITHUB_HEAD_REF"

0 commit comments

Comments
 (0)