File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 15
15
with :
16
16
token : ${{ secrets.GITHUB_TOKEN }}
17
17
fetch-depth : 0
18
+ ref : ${{ github.head_ref }}
18
19
- name : Configure Git
19
20
run : |
20
21
git config user.name 'github-actions[bot]'
@@ -27,10 +28,10 @@ jobs:
27
28
run : |
28
29
git add -A
29
30
git commit -m "chore(oversight): update import maps"
30
- git push
31
+ git push origin HEAD:${{ github.head_ref }}
31
32
- name : Update PR comment to include aem.live test URL
32
33
run : |
33
34
OLD_BODY=$(gh pr view --json body --jq ".body")
34
- BRANCH_NAME=$(echo ${{ github.ref }} | sed 's|refs/heads/||' )
35
+ BRANCH_NAME=$(echo ${{ github.head_ref }})
35
36
NEW_BODY="$OLD_BODY\n\nTest at: https://$BRANCH_NAME--helix-website--adobe.aem.live/tools/oversight/explorer.html?domain=www.emigrationbrewing.com"
36
37
gh pr edit ${{ github.event.number }} --body "$NEW_BODY"
You can’t perform that action at this time.
0 commit comments