We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9677dad commit a862233Copy full SHA for a862233
.github/workflows/pr_title_check.yml
@@ -11,7 +11,6 @@ jobs:
11
steps:
12
- name: Check PR Title is Prefixed with Change Type
13
id: check_prefix
14
- continue-on-error: true
15
env:
16
PR_TITLE: ${{ github.event.pull_request.title }}
17
run: |
@@ -86,3 +85,9 @@ jobs:
86
85
See the contributing guide for more details:
87
https://github.com/NHSDigital/eps-common-workflows/blob/main/CONTRIBUTING.md
88
comment-tag: pr-link
+
89
+ - name: Fail job due to invalid PR title format
90
+ if: steps.check_prefix.outcome != 'success' || steps.check_ticket_reference.outcome != 'success'
91
+ run: |
92
+ echo "Job failed due to invalid PR title format."
93
+ exit 1
0 commit comments