SK-1736: Add validations for invoke connection and Fix inconsistencies #374
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: CI Checks | |
on: [pull_request] | |
jobs: | |
check-commit-message: | |
name: Check Commit Message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check JIRA ID | |
uses: gsactions/commit-message-checker@v1 | |
with: | |
pattern: '\[?[A-Z]{1,5}-[1-9][0-9]*.+$' | |
flags: 'gm' | |
excludeDescription: 'true' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.PAT_ACTIONS }} | |
error: 'One of your your commit messages is not matching the format with JIRA ID Ex: ( SDK-123 commit message )' | |
test: | |
uses: ./.github/workflows/shared-tests.yml | |
with: | |
python-version: '3.8' | |
secrets: inherit |