CI/CD Integration
Integrating path-comment-hook with CI/CD systems.
GitHub Actions
- name: Check headers
run: path-comment-hook --check --all
GitLab CI
check-headers:
script:
- path-comment-hook --check --all
Pre-commit in CI
- name: Pre-commit
uses: pre-commit/action@v3.0.0