Skip to content

Commit

Permalink
ci: avoid running no-commit-to-branch on PR merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ingeridhellen committed Aug 29, 2023
1 parent 8b5afc7 commit 4dfbf25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ repos:
[--autofix, --no-sort-keys, "--top-keys=_id,name,type,description"]
- id: no-commit-to-branch
args: [--branch, master]
stages: [commit-msg]

- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.4.0
Expand Down

0 comments on commit 4dfbf25

Please sign in to comment.