Skip to content

Commit 4bb5b71

Browse files
committed
GitHub default environment variables
1 parent 5ab5b03 commit 4bb5b71

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/fork_pr_benchmarks_closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
bencher archive \
1515
--project example \
1616
--token '${{ secrets.BENCHER_API_TOKEN }}' \
17-
--branch '${{ github.head_ref }}'
17+
--branch "$GITHUB_HEAD_REF"

.github/workflows/pr_benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
bencher run \
1919
--project example \
2020
--token '${{ secrets.BENCHER_API_TOKEN }}' \
21-
--branch '${{ github.head_ref }}' \
22-
--start-point '${{ github.base_ref }}' \
21+
--branch "$GITHUB_HEAD_REF"
22+
--start-point "$GITHUB_BASE_REF" \
2323
--start-point-hash '${{ github.event.pull_request.base.sha }}' \
2424
--start-point-clone-thresholds \
2525
--start-point-reset \

.github/workflows/pr_benchmarks_closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
bencher archive \
1717
--project example \
1818
--token '${{ secrets.BENCHER_API_TOKEN }}' \
19-
--branch '${{ github.head_ref }}'
19+
--branch "$GITHUB_HEAD_REF"

0 commit comments

Comments
 (0)