File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ jobs:
22
22
# Assign the contributor-specified branch name to an environment
23
23
# variable to sanitize it and avoid arbitrary bash code injection by
24
24
# non-privileged users.
25
- HEAD_REF : ${{ github.event.pull_request.head.ref }}
25
+ PR_HEAD_REF : ${{ github.event.pull_request.head.ref }}
26
26
run : |
27
27
set -xe
28
28
git remote add pr_remote ${{ github.event.pull_request.head.repo.html_url }}
29
- git fetch pr_remote $HEAD_REF
30
- git checkout -b pr_branch pr_remote/$HEAD_REF
29
+ git fetch pr_remote $PR_HEAD_REF
30
+ git checkout -b pr_branch pr_remote/$PR_HEAD_REF
31
31
git config user.name github-actions
32
32
git config user.email github-actions@github.com
33
33
git merge origin/master
34
- git push pr_remote HEAD:${{ github.event.pull_request.head.ref }}
34
+ git push pr_remote HEAD:$PR_HEAD_REF
You can’t perform that action at this time.
0 commit comments