Skip to content

Commit 1873ab7

Browse files
committed
pre-commit: add actionlint for GitHub Actions workflow files
Another check or test we can have that lints workflow files. Tested with `pre-commit run --all-files` currently passing Static checker for GitHub Actions workflow files: https://github.com/rhysd/actionlint https://github.com/rhysd/actionlint/blob/v1.7.8/docs/usage.md#pre-commit Try the online version: https://rhysd.github.io/actionlint/
1 parent e456655 commit 1873ab7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ repos:
4747
- id: gitleaks
4848
name: run gitleaks
4949
description: check for secrets with gitleaks
50+
- repo: https://github.com/rhysd/actionlint
51+
rev: v1.7.8
52+
hooks:
53+
- id: actionlint

0 commit comments

Comments
 (0)