commit f1beae2e9319c88c4d8b48b7707ddf5ed093e64c
parent ff8453097b2213cb9275e39f132afd7c86fe4ec6
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Tue, 22 Apr 2025 08:57:19 +0900
no commit
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/PRbuild.yaml b/.github/workflows/PRbuild.yaml
@@ -30,6 +30,10 @@ jobs:
git checkout $BRANCH
cp ../main.pdf ./converted/
git add -A
+ if [ -z "$(git status --porcelain)" ]; then
+ echo "No changes to commit"
+ exit 0
+ fi
git commit -m "add pdf to PR"
git remote set-url origin https://<username>:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git push
\ No newline at end of file