Handle no doxygen changes case

This commit is contained in:
Dmitry Marakasov 2025-03-17 23:31:21 +03:00
parent c3ac6407fa
commit a05e661aac

View File

@ -36,5 +36,9 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add .
git commit -m "Update for ${{ github.repository }} commit ${{ github.sha }} run_id ${{ github.run_id }}"
git push --force
if git diff --cached --quiet; then
echo "No changes, skipping commit"
else
git commit -m "Update for ${{ github.repository }} commit ${{ github.sha }} run_id ${{ github.run_id }}"
git push --force
fi