Pre-commit
Pre-commit, enforced.
The local hook checks only staged files, so drift in untouched files can't block anyone's commit. This workflow is where the whole repository is checked, on every pull request and every push to main, so drift can't land either.
uses: huntridge-labs/argus/.github/workflows/pre-commit.yml@1.12.8
Triggers
- Pull request
- Push
Permissions
| Scope | Access |
|---|---|
contents |
read |
Jobs
pre-commit โ Pre-commit (all files)
Runs on: ubuntu-latest ยท Timeout: 15 minutes
Steps:
- Install pre-commit
- Run pre-commit on all files