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 462c4db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fork_pr_benchmarks_closed.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request:
pull_request_target:
types: [closed]

jobs:
Expand All @@ -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 462c4db

Please # to comment.