Skip to content

Commit 4fb41fa

Browse files
authored
Fix: [AEA-0000] - fail job on bad pr format (#20)
## Summary - Routine Change ### Details - force failure on bad pr format
1 parent 7476c9c commit 4fb41fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pr_title_check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,9 @@ jobs:
8686
See the contributing guide for more details:
8787
https://github.com/NHSDigital/eps-common-workflows/blob/main/CONTRIBUTING.md
8888
comment-tag: pr-link
89+
90+
- name: Fail job due to invalid PR title format
91+
if: steps.check_prefix.outcome != 'success' || steps.check_ticket_reference.outcome != 'success'
92+
run: |
93+
echo "Job failed due to invalid PR title format."
94+
exit 1

0 commit comments

Comments
 (0)