mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Add pre-commit hooks to validate GitHub Actions content
Add hooks to validate GitHub Actions and GitHub Action workflows. These are validated using JSON Schemas.
This commit is contained in:
parent
da532a590f
commit
49d87d40e4
1 changed files with 7 additions and 0 deletions
|
@ -47,6 +47,13 @@ repos:
|
|||
args:
|
||||
- --strict
|
||||
|
||||
# GitHub Actions hooks
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.14.2
|
||||
hooks:
|
||||
- id: check-github-actions
|
||||
- id: check-github-workflows
|
||||
|
||||
# pre-commit hooks
|
||||
- repo: https://github.com/pre-commit/pre-commit
|
||||
rev: v2.17.0
|
||||
|
|
Loading…
Reference in a new issue