[MDS-5697] Add method to forward UNTP DCC's through Orgbook Publisher #4241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PR For JIRA Issue | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
check-pr-title-jira-link: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for PR Title for Jira link | |
uses: gsactions/commit-message-checker@8c8c0d18ba9b1fcfed6e7385fd2bf357dfc8dccb | |
with: | |
pattern: '(\W)+(MDS)+-[0-9]+(\W)|(\W)(CHORE|FIX|Snyk)(\W)' | |
excludeTitle: "false" # optional: this excludes the title of a pull request | |
excludeDescription: "true" # optional: this excludes the description body of a pull request | |
checkAllCommitMessages: "false" # optional: this checks all commits associated with a pull request | |
# accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true | |
error: "PR title should look like [MDS-####] or [CHORE] or [FIX] for general non feature commits" |