Skip to content

Commit d631b10

Browse files
don't actually need the ref exactly
1 parent 748a23f commit d631b10

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/benchmarking.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ jobs:
2626
run: |
2727
git config --local user.name "GitHub Actions"
2828
git config --local user.email "[email protected]"
29-
- uses: FranzDiebold/[email protected]
3029
- name: Ensure base branch is fetched
3130
if: ${{ github.event_name == 'pull_request' }}
3231
run: |
33-
git checkout -b $GITHUB_REF_NAME
34-
echo "$GITHUB_REF_NAME" > github_ref_name
32+
git checkout -b $GITHUB_EVENT_PULL_REQUEST_HEAD_SHA
3533
echo "$GITHUB_REF_NAME"
36-
# git branch $GITHUB_BASE_REF remotes/origin/$GITHUB_BASE_REF
34+
echo "$GITHUB_BASE_REF"
3735
git branch
3836
git branch -va
37+
git branch $GITHUB_BASE_REF remotes/origin/$GITHUB_BASE_REF
3938
- name: Setup R
4039
uses: r-lib/actions/setup-r@master
4140
- name: Query dependencies

0 commit comments

Comments
 (0)