others(operate-importer): add more logs during the import of process definitions #1540
Workflow file for this run
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
on: | |
pull_request: | |
branches: | |
- main | |
types: [opened, synchronize, reopened, edited] | |
jobs: | |
check-pull-request-name: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract pull request name | |
id: extract_pr | |
run: echo "${{ github.event.pull_request.title }}" | |
- name: Check if pull request name follows conventional commit regex | |
run: | | |
PR_REGEX='^(feat|fix|docs|style|refactor|perf|test|chore|build|other|ci)\(?.+\)?: .+$' | |
if [[ "${{ github.event.pull_request.title }}" =~ $PR_REGEX ]]; then | |
echo "Pull request name follows the conventional commit format." | |
else | |
echo "Pull request does not follow the conventional commit format." | |
exit 1 | |
fi |