Skip to content

Commit

Permalink
GitHub default environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
epompeii committed Nov 6, 2024
1 parent 5ab5b03 commit 4bb5b71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fork_pr_benchmarks_closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
bencher archive \
--project example \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch '${{ github.head_ref }}'
--branch "$GITHUB_HEAD_REF"
4 changes: 2 additions & 2 deletions .github/workflows/pr_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
bencher run \
--project example \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch '${{ github.head_ref }}' \
--start-point '${{ github.base_ref }}' \
--branch "$GITHUB_HEAD_REF"
--start-point "$GITHUB_BASE_REF" \
--start-point-hash '${{ github.event.pull_request.base.sha }}' \
--start-point-clone-thresholds \
--start-point-reset \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_benchmarks_closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
bencher archive \
--project example \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch '${{ github.head_ref }}'
--branch "$GITHUB_HEAD_REF"

0 comments on commit 4bb5b71

Please sign in to comment.