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 09da2f8 commit 36fc88dCopy full SHA for 36fc88d
.github/workflows/update_readme.yml
@@ -27,10 +27,13 @@ jobs:
27
- name: Run update script
28
run: python automata.py
29
30
- - name: Commit and push changes
+ - name: Commit and push if changed
31
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
run: |
34
git config --global user.name "GitHub Action Bot"
35
git config --global user.email "github-actions[bot]@users.noreply.github.com"
36
git add README.md
37
git diff --staged --quiet || git commit -m "Auto-update README.md"
- git push
38
+ git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git main
39
+
0 commit comments