Skip to content

Commit

Permalink
feat(ci): add hook to check pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
MagneticNeedle committed Jul 18, 2024
1 parent ad448a2 commit cc58366
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: no-commit-to-branch
args: [--branch, main]
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
Expand Down

0 comments on commit cc58366

Please sign in to comment.