ci(build): fix commit msg
Some checks failed
submodules sync / sync (push) Successful in 44s
build / build (push) Successful in 2m12s
build / trigger-build-image (push) Failing after 6s

This commit is contained in:
张泊明518370910136 2024-10-09 04:02:25 -04:00
parent c008cc3eba
commit 3f6f23e4a5
GPG Key ID: D47306D7062CDA9D

View File

@ -63,7 +63,7 @@ jobs:
- name: Clone, Commit and Push
shell: bash
run: |
COMMIT_MSG=$(git log -1 --pretty=%B)
COMMIT_MSG=${{ github.event.head_commit.message }}
git clone ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/runner-images.git runner-images
cd runner-images
if echo "$COMMIT_MSG" | grep -qi "force build"; then