From 9855acb9c523233c73e03098f12a853ff4e04a22 Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Tue, 4 Feb 2025 16:28:05 +0100 Subject: [PATCH] Hotfix for `self-comment-ci.yml` (#36030) fix Co-authored-by: ydshieh --- .github/workflows/self-comment-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/self-comment-ci.yml b/.github/workflows/self-comment-ci.yml index 6287bb7154..7adad75516 100644 --- a/.github/workflows/self-comment-ci.yml +++ b/.github/workflows/self-comment-ci.yml @@ -225,6 +225,7 @@ jobs: if [ $PR_MERGE_SHA != $VERIFIED_PR_MERGE_SHA ]; then echo "The merged commit SHA is not the same as the verified one! Security issue detected, abort the workflow!"; exit -1; + fi - name: Reinstall transformers in edit mode (remove the one installed during docker image build) working-directory: /transformers @@ -324,6 +325,7 @@ jobs: if [ $PR_MERGE_SHA != $VERIFIED_PR_MERGE_SHA ]; then echo "The merged commit SHA is not the same as the verified one! Security issue detected, abort the workflow!"; exit -1; + fi - name: Reinstall transformers in edit mode (remove the one installed during docker image build) working-directory: /transformers