repos: - repo: local hooks: - id: check-commit-msg name: Check commit message format entry: .githooks/check-commit-msg.sh language: script stages: [commit-msg] - id: check-branch-name name: Check branch name format entry: .githooks/check-branch-name.sh language: script stages: [commit] always_run: true pass_filenames: false