DBZ-4672 Fail check if commit has no DBZ Jira prefix
This commit is contained in:
parent
57934a0838
commit
e33b40a9d1
8
.github/workflows/sanity-check.yml
vendored
8
.github/workflows/sanity-check.yml
vendored
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user