Skip to content

Commit 4215ba3

Browse files
authored
Merge pull request #109 from cisagov/improvement/add_github_actions_pre-commit_hooks
Add `pre-commit` hooks to validate GitHub Actions content
2 parents da532a5 + 49d87d4 commit 4215ba3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ repos:
4747
args:
4848
- --strict
4949

50+
# GitHub Actions hooks
51+
- repo: https://github.com/python-jsonschema/check-jsonschema
52+
rev: 0.14.2
53+
hooks:
54+
- id: check-github-actions
55+
- id: check-github-workflows
56+
5057
# pre-commit hooks
5158
- repo: https://github.com/pre-commit/pre-commit
5259
rev: v2.17.0

0 commit comments

Comments
 (0)