Skip to content

Commit 03eec4c

Browse files
authored
Merge pull request #1 from socialvibe/main
Update repo
2 parents 5ae4a3c + fe96e5a commit 03eec4c

4 files changed

Lines changed: 32 additions & 1 deletion

File tree

.github/workflows/pr_jira_ticket.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
pull-requests: read
1515
steps:
16-
- uses: deepakputhraya/action-pr-title@master
16+
- uses: deepakputhraya/action-pr-title@v1.0.2
1717
with:
1818
regex: '^[A-Z]{2,8}-\d{2,8}(:?\s|$)'
1919
prefix_case_sensitive: false # title prefix are case insensitive
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# pr_jira_ticket_mm.yml
3+
#
4+
5+
name: pr-jira-ticket-mm
6+
on:
7+
pull_request:
8+
types: [opened, edited, synchronize, reopened]
9+
10+
jobs:
11+
check-pr-title:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: read
15+
steps:
16+
- uses: deepakputhraya/action-pr-title@v1.0.2
17+
with:
18+
regex: '[A-Z]{2,8}-\d{2,8}(?=\s|$|[\.,:;!?)]|\b)'
19+
prefix_case_sensitive: false # title prefix are case insensitive
20+
min_length: 5 # Min length of the title
21+
max_length: 80 # Max length of the title
22+
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).'
23+
github_token: ${{ github.token }}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# CHANGELOG
2+
3+
## 2025-05-13
4+
- DSOS-370: Added MM PR title check
5+
6+
## 2025-01-15
7+
- None: Added PR title check

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# workflows
2+
23
Repository to host company workflows

0 commit comments

Comments
 (0)