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 2ec0080 commit 2d8e383Copy full SHA for 2d8e383
.github/workflows/main.yml
@@ -36,11 +36,13 @@ jobs:
36
- name: Generate README
37
run: |
38
yarn gen-readme
39
- git config --global user.name github-actions[bot]
40
- git config --global user.email github-actions[bot]@users.noreply.github.com
41
- git add README.md
42
- git commit -m "Update README.md"
43
- git push
+ if [[ `git status --porcelain` ]]; then
+ git config --global user.name github-actions[bot]
+ git config --global user.email github-actions[bot]@users.noreply.github.com
+ git add README.md
+ git commit -m "Update README.md"
44
+ git push
45
+ fi
46
47
- name: "`yarn gen-readme` changes committed?"
48
0 commit comments