Skip to content

feat(ARCO-283): remove freecache, combine methods with cache implementation #60

feat(ARCO-283): remove freecache, combine methods with cache implementation

feat(ARCO-283): remove freecache, combine methods with cache implementation #60

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