Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr_jira_ticket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
pull-requests: read
steps:
- uses: deepakputhraya/action-pr-title@master
- uses: deepakputhraya/action-pr-title@v1.0.2
with:
regex: '^[A-Z]{2,8}-\d{2,8}(:?\s|$)'
prefix_case_sensitive: false # title prefix are case insensitive
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/pr_jira_ticket_mm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# pr_jira_ticket_mm.yml
#

name: pr-jira-ticket-mm
on:
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
check-pr-title:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: deepakputhraya/action-pr-title@v1.0.2
with:
regex: '[A-Z]{2,8}-\d{2,8}(?=\s|$|[\.,:;!?)]|\b)'
prefix_case_sensitive: false # title prefix are case insensitive
min_length: 5 # Min length of the title
max_length: 80 # Max length of the title
verbal_description: 'The PR title must contain a valid JIRA project ticket ID, followed by a dash and a number. For example, a valid title would be MMCAMP-1234: Fix a critical issue or fix(MMCAMP-123).'
github_token: ${{ github.token }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# CHANGELOG

## 2025-05-13
- DSOS-370: Added MM PR title check

## 2025-01-15
- None: Added PR title check
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# workflows

Repository to host company workflows
Loading