We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 435bc4c commit 6febdebCopy full SHA for 6febdeb
.github/workflows/generate-subdirectory-list.yml
@@ -27,9 +27,12 @@ jobs:
27
echo "]" >> subdirectories.json
28
29
- name: Commit and push
30
+ env:
31
+ TOKEN: ${{ secrets.SUBDIRECTORYFETCHINGTOKEN }}
32
run: |
- git config user.name "github-actions[bot]"
- git config user.email "github-actions[bot]@users.noreply.github.com"
33
+ git config user.name "Auto Commit Bot"
34
+ git config user.email "[email protected]"
35
+ git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }}
36
git add subdirectories.json
37
git commit -m "Update subdirectories list" || echo "No changes"
- git push origin main # Explicitly push to the main branch
38
+ git push origin main
0 commit comments