File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ jobs:
3030 steps :
3131 - uses : actions/checkout@v6
3232 with :
33- token : ${{ secrets.GH_TOKEN }}
33+ token : ${{ secrets.GH_TOKEN || github.token }}
3434 persist-credentials : true
3535 show-progress : false
3636 - name : Setup Git Credentials
3737 run : |
3838 git config --global credential.helper store
39- echo "https://oauth2:${{ secrets.GH_TOKEN }}@github.com" > ~/.git-credentials
39+ echo "https://oauth2:${{ secrets.GH_TOKEN || github.token }}@github.com" > ~/.git-credentials
4040 - name : Setup Python
4141 uses : actions/setup-python@v6
4242 with :
@@ -60,13 +60,13 @@ jobs:
6060 steps :
6161 - uses : actions/checkout@v6
6262 with :
63- token : ${{ secrets.GH_TOKEN }}
63+ token : ${{ secrets.GH_TOKEN || github.token }}
6464 persist-credentials : true
6565 show-progress : false
6666 - name : Setup Git Credentials
6767 run : |
6868 git config --global credential.helper store
69- echo "https://oauth2:${{ secrets.GH_TOKEN }}@github.com" > ~/.git-credentials
69+ echo "https://oauth2:${{ secrets.GH_TOKEN || github.token }}@github.com" > ~/.git-credentials
7070 - name : Setup Python
7171 uses : actions/setup-python@v6
7272 with :
You can’t perform that action at this time.
0 commit comments