Skip to content

Commit

Permalink
fix exit code check
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Aug 27, 2024
1 parent 0a5065f commit b87500a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b87500a

Please sign in to comment.