From b87500a6378f682b0eeaa5fd948d294e8e47c323 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Tue, 27 Aug 2024 15:28:03 +0100 Subject: [PATCH] fix exit code check --- .github/workflows/commit-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml index 901d4b69856..1f7b027e885 100644 --- a/.github/workflows/commit-check.yml +++ b/.github/workflows/commit-check.yml @@ -48,6 +48,7 @@ jobs: echo "error_message=$error_message" >> $GITHUB_OUTPUT echo "has_breaking_changes=$has_breaking_changes" >> $GITHUB_OUTPUT + echo "OUTPUT: $output" echo "RESULT: $exit_code $error_message $has_breaking_changes" - uses: marocchino/sticky-pull-request-comment@v2 @@ -70,7 +71,7 @@ jobs: ``` # Delete a previous comment when the issue has been resolved - - if: ${{ steps.exit_code.outputs.error_message == 0}} + - if: ${{ steps.check_commit_message.outputs.exit_code == 0}} uses: marocchino/sticky-pull-request-comment@v2 with: header: commit-message-lint-error