File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,15 @@ jobs:
26
26
run : |
27
27
git config --local user.name "GitHub Actions"
28
28
git config --local user.email "[email protected] "
29
- -
uses :
FranzDiebold/[email protected]
30
29
- name : Ensure base branch is fetched
31
30
if : ${{ github.event_name == 'pull_request' }}
32
31
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
35
33
echo "$GITHUB_REF_NAME"
36
- # git branch $GITHUB_BASE_REF remotes/origin/$GITHUB_BASE_REF
34
+ echo " $GITHUB_BASE_REF"
37
35
git branch
38
36
git branch -va
37
+ git branch $GITHUB_BASE_REF remotes/origin/$GITHUB_BASE_REF
39
38
- name : Setup R
40
39
uses : r-lib/actions/setup-r@master
41
40
- name : Query dependencies
You can’t perform that action at this time.
0 commit comments