File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,15 @@ jobs:
39
39
ref : edge
40
40
# https://github.com/actions/checkout/issues/125#issuecomment-570254411
41
41
fetch-depth : 0
42
+ persist-credentials : false
42
43
43
44
- name : Configure git
45
+ env :
46
+ GH_TOKEN : ${{ secrets.GH_RAD_CI_BOT_PAT }}
44
47
run : |
45
48
git config --global user.email "[email protected] "
46
49
git config --global user.name "Radius CI Bot"
47
- gh auth login --with-token <<< "$ {{ secrets.GH_RAD_CI_BOT_PAT }}"
50
+ git remote set-url origin https://[email protected] /$ {{ github.repository }}
48
51
49
52
# Create a new branch from edge. This branch will be used to PR back into edge.
50
53
- name : Create new branch
78
81
# Create a PR from the new branch to edge
79
82
- name : Create pull request
80
83
if : env.NO_CHANGES != 'true'
84
+ env :
85
+ GH_TOKEN : ${{ secrets.GH_RAD_CI_BOT_PAT }}
81
86
run : gh pr create --title "Upmerge to edge" --body "Upmerge to edge (kicked off by @${{ github.triggering_actor }})" --base edge --head $BRANCH_NAME
You can’t perform that action at this time.
0 commit comments