DBZ-4672 Fail check if commit has no DBZ Jira prefix

This commit is contained in:
Chris Cranford 2022-02-04 09:23:18 -05:00 committed by Gunnar Morling
parent 57934a0838
commit e33b40a9d1

View File

@ -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')