Browse Source

feat(pre-commit): Add pre-commit check for Github Actions and Workflows (#23505)

Fixes #22495
Armen Zambrano G 4 years ago
parent
commit
d13312ecf6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .pre-commit-config.yaml

+ 5 - 0
.pre-commit-config.yaml

@@ -29,6 +29,11 @@ repos:
       language: python
       types: [python]
       log_file: '.artifacts/flake8.pycodestyle.log'
+-   repo: https://github.com/sirosen/check-jsonschema
+    rev: 0.3.0
+    hooks:
+    -   id: check-github-actions
+    -   id: check-github-workflows
 -   repo: git://github.com/pre-commit/pre-commit-hooks
     rev: v3.4.0
     hooks: