We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf519b6 + c8b1f59 commit 1831a06Copy full SHA for 1831a06
.github/workflows/ci.yml
@@ -116,5 +116,9 @@ jobs:
116
cp /tmp/openapi/swagger.* sormas-rest/
117
118
git add sormas-rest/swagger.*
119
- git commit -m "[GitHub Actions] Update openAPI spec files"
120
- git push
+ if ! git diff --cached --quiet; then
+ git commit -m "[GitHub Actions] Update openAPI spec files"
121
+ git push
122
+ else
123
+ echo "swagger files are already up to date, nothing to commit"
124
+ fi
0 commit comments