File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1616 steps :
1717 - name : Checkout Repository
1818 uses : actions/checkout@v4
19+ with :
20+ persist-credentials : false # disable default GITHUB_TOKEN
1921
2022 - name : Install Dependencies
2123 run : pip install -r requirements.txt
2931 - name : Commit and Push Changes
3032 env :
3133 RELEASE_TAG : ${{ inputs.release_tag }}
32- GITHUB_TOKEN : ${{ secrets.SAGE_ACCESS_TOKEN }}
34+ GITHUB_PAT : ${{ secrets.SAGE_ACCESS_TOKEN }}
3335 run : |
36+ git remote set-url origin https://x-access-token:${GITHUB_PAT}@github.com/${{ github.repository }}.git
3437 git config --global user.name "github-actions[bot]"
3538 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3639 git add "src/changelogs/sage-${RELEASE_TAG}.txt"
You can’t perform that action at this time.
0 commit comments