1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-07-27 01:51:49 +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:
Nicholas McDonnell 2022-04-01 16:46:16 -04:00
parent da532a590f
commit 49d87d40e4
No known key found for this signature in database
GPG key ID: 7994ADE2A56BE5D1

View file

@ -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