We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 665c6c8 commit cc87f83Copy full SHA for cc87f83
.github/workflows/update_readme.yaml
@@ -56,6 +56,11 @@ jobs:
56
run: |
57
git config --local user.email "action@github.com"
58
git config --local user.name "GitHub Action"
59
- git add readme.md
60
- git commit -m "Update README with new version details [ci skip]"
61
- git push
+ if ! git diff --quiet readme.md; then
+ git add readme.md
+ git commit -m "Update README with new version details [ci skip]"
62
+ git push
63
+ echo "README updated and pushed"
64
+ else
65
+ echo "No changes to README, skipping commit"
66
+ fi
0 commit comments