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.
pull/521/head
Nicholas McDonnell 2 years ago
parent da532a590f
commit 49d87d40e4
No known key found for this signature in database
GPG Key ID: 7994ADE2A56BE5D1
  1. 7
      .pre-commit-config.yaml

@ -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…
Cancel
Save