Skip to content

Commit

Permalink
Do not push if no changes to public download script is made
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed Jan 18, 2025
1 parent 7234283 commit efbed3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ jobs:
BODO_COMMIT_MESSAGE=$(git log -1 --pretty=%B)
cd bodo-run.github.io
git add public/stop-nagging.sh public/stop-nagging.ps1
# Exit with 0 if no changes
if git diff --exit-code; then
echo "No changes to commit"
exit 0
fi
git commit -m "Update stop-nagging installation scripts" \
-m "" \
-m "$BODO_COMMIT_MESSAGE" \
Expand Down

0 comments on commit efbed3c

Please sign in to comment.