feat(ARCO-283): remove freecache, combine methods with cache implementation #85
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: Enforce Commit Message Format | |
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
jobs: | |
check_commit_message: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check commit message format | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
run: | | |
if [[ ! "$PR_TITLE" =~ ^(feat|chore|deps|sec|fix|refactor|docs|build|ci|test)(\([A-Z]{3,6}-[0-9]{3,6}\))?:\ .+$ ]]; then | |
echo "PR title which is used as merge commit does not follow Conventional Commits format." | |
echo "Please use format: <type>(<scope>): <description> as described in CONTRIBUTING.md" | |
exit 1 | |
fi |