File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,6 +262,12 @@ jobs:
262262
263263 Do NOT run git commands.
264264
265+ - name : Restore git remote auth
266+ if : steps.run-tests.outputs.passed == 'false'
267+ env :
268+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
269+ run : git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git
270+
265271 - name : Commit Linux fixes
266272 if : steps.run-tests.outputs.passed == 'false'
267273 uses : stefanzweifel/git-auto-commit-action@v5
@@ -359,6 +365,12 @@ jobs:
359365
360366 Do NOT run git commands.
361367
368+ - name : Restore git remote auth
369+ if : steps.run-tests.outputs.passed == 'false'
370+ env :
371+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
372+ run : git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git
373+
362374 - name : Commit macOS fixes
363375 if : steps.run-tests.outputs.passed == 'false'
364376 uses : stefanzweifel/git-auto-commit-action@v5
You can’t perform that action at this time.
0 commit comments