Skip to content

Commit beaf1c8

Browse files
authored
Merge pull request #96 from openppg/copilot/sub-pr-95
Fix CI checkout failure in Dependabot runs
2 parents 39bccb2 + 7a03ecf commit beaf1c8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)