File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,15 @@ jobs:
3939 ref : edge
4040 # https://github.com/actions/checkout/issues/125#issuecomment-570254411
4141 fetch-depth : 0
42+ persist-credentials : false
4243
4344 - name : Configure git
45+ env :
46+ GH_TOKEN : ${{ secrets.GH_RAD_CI_BOT_PAT }}
4447 run : |
4548 git config --global user.email "[email protected] " 4649 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 }} 4851
4952 # Create a new branch from edge. This branch will be used to PR back into edge.
5053 - name : Create new branch
7881 # Create a PR from the new branch to edge
7982 - name : Create pull request
8083 if : env.NO_CHANGES != 'true'
84+ env :
85+ GH_TOKEN : ${{ secrets.GH_RAD_CI_BOT_PAT }}
8186 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