File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 env :
3535 PR_TITLE_PREFIX : ${{inputs.pr-title-prefix}}
3636 AUTHOR : ${{github.actor}}
37- GITHUB_TOKEN : ${{inputs.github-token}}
37+ TOKEN : ${{inputs.github-token}}
3838 REPOSITORY : ${{github.repository}}
3939 BRANCH_NAME_PREFIX : ${{inputs.branch-name-prefix}}
4040 if : steps.diff.outputs.result != '' && ((github.event_name == 'pull_request' && github.event.action != 'closed') || github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ EMAIL="41898282+github-actions[bot]@users.noreply.github.com"
55git config user.email " ${EMAIL} "
66git commit -m " ${PR_TITLE_PREFIX} "
77REPO_URL=" https://"
8- REPO_URL+=" ${AUTHOR} :${GITHUB_TOKEN } @github.com/"
8+ REPO_URL+=" ${AUTHOR} :${TOKEN } @github.com/"
99REPO_URL+=" ${REPOSITORY} .git"
1010GITHUB_HEAD=" HEAD:refs/heads/${BRANCH_NAME_PREFIX} -${HEAD_REF} "
1111git push -f " ${REPO_URL} " " ${GITHUB_HEAD} "
You can’t perform that action at this time.
0 commit comments