Skip to content

Commit

Permalink
chore: add repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Dec 24, 2024
1 parent 12a4d7b commit 772c0ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/benchmark-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ jobs:

- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
ref: ${{ github.event.pull_request.head.sha || github.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
CARGO_TERM_COLOR: always
OPENVM_FAST_TEST: "1"
CURRENT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
REPO: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
CARGO_NET_GIT_FETCH_WITH_CLI: "true"

permissions:
Expand All @@ -39,7 +40,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
ref: ${{ CURRENT_SHA }}
repository: ${{ REPO }}

- name: Create benchmark matrix from JSON
id: create-matrix
Expand Down Expand Up @@ -133,7 +135,8 @@ jobs:
##########################################################################
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
ref: ${{ CURRENT_SHA }}
repository: ${{ REPO }}

- name: Set github pages path for PR
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit 772c0ca

Please sign in to comment.