diff --git a/.github/workflows/sanity-check.yml b/.github/workflows/sanity-check.yml index ea1ec9b3f..894470e30 100644 --- a/.github/workflows/sanity-check.yml +++ b/.github/workflows/sanity-check.yml @@ -43,3 +43,11 @@ jobs: issue-number: ${{ github.event.pull_request.number }} body: | Hi @${{ github.event.pull_request.user.login }}, thanks for your contribution. Please prefix the commit message(s) with the [DBZ-xxx JIRA issue key](https://github.com/debezium/debezium/blob/main/CONTRIBUTE.md#making-changes). + - name: Check failure + if: ${{ steps.check.outputs.PREFIX == 'false' }} + uses: actions/github-script@v5 + continue-on-error: false + with: + script: | + throw new Error('Commit has no DBZ-xxx prefiix') +