We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5346191 commit 6e01ca9Copy full SHA for 6e01ca9
1 file changed
.github/workflows/update-readme.yml
@@ -24,5 +24,8 @@ jobs:
24
run: |
25
git config user.name "github-actions[bot]"
26
git config user.email "github-actions[bot]@users.noreply.github.com"
27
- git add README.md
28
- git diff --quiet && git diff --staged --quiet || (git commit -m "docs: update README with config file contents" && git push)
+ if ! git diff --quiet HEAD; then
+ git add README.md
29
+ git commit -m "docs: update README with config file contents"
30
+ git push
31
+ fi
0 commit comments