Skip to content

Commit

Permalink
fix: commit only if there is something to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored Oct 13, 2023
1 parent 0030f21 commit a9a5620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
git add .
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git commit -m "chore: remove protoc version comments"
git diff --cached --quiet || git commit -m "chore: remove protoc version comments"
fi
go generate -x ./...
if [[ -n "$IGNORE_PROTOC_VERSION_COMMENTS" ]]; then
Expand Down

0 comments on commit a9a5620

Please sign in to comment.