Skip to content

Commit 88f90b5

Browse files
committed
CCM-15317: Adding New PR Enforcement Action
1 parent eb719f6 commit 88f90b5

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/actions/check-pr-title-format/action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ runs:
1616
steps:
1717
- name: Validate PR title
1818
shell: bash
19+
env:
20+
TITLE: ${{ inputs.title }}
21+
PATTERN: ${{ inputs.pattern }}
22+
MESSAGE: ${{ inputs.error_message }}
1923
run: |
20-
title="${{ inputs.title }}"
21-
pattern="${{ inputs.pattern }}"
22-
message="${{ inputs.error_message }}"
24+
title="$TITLE"
25+
pattern="$PATTERN"
26+
message="$MESSAGE"
2327
2428
echo "PR title: $title"
2529
echo "Required pattern: $pattern"

0 commit comments

Comments
 (0)