fix: ignore when no readme changes exist
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
||||
git config --global user.name "Gitea Actions"
|
||||
git config --global user.email "actions@gitea.local"
|
||||
git add README.md
|
||||
if ! git diff-index --quiet HEAD; then
|
||||
if ! git diff --quiet HEAD README.md; then
|
||||
git commit -m "docs: auto-update README actions table [skip ci]"
|
||||
git push origin HEAD:${{ github.ref_name }}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user