File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -473,6 +473,7 @@ use nix
473473### Various other hooks
474474
475475- [ actionlint] ( https://github.com/rhysd/actionlint )
476+ - [ action-validator] ( https://github.com/mpalmer/action-validator )
476477- [ check-added-large-files] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_added_large_files.py )
477478- [ check-case-conflicts] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_case_conflict.py )
478479- [ check-executables-have-shebangs] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_executables_have_shebangs.py )
Original file line number Diff line number Diff line change @@ -2141,6 +2141,15 @@ in
21412141 package = tools . actionlint ;
21422142 entry = "${ hooks . actionlint . package } /bin/actionlint" ;
21432143 } ;
2144+ action-validator =
2145+ {
2146+ name = "action-validator" ;
2147+ description = "Tool to validate GitHub Action and Workflow YAML files" ;
2148+ files = "^.github/(actions|workflows)/" ;
2149+ types = [ "yaml" ] ;
2150+ package = tools . action-validator ;
2151+ entry = "${ hooks . action-validator . package } /bin/action-validator" ;
2152+ } ;
21442153 alejandra =
21452154 {
21462155 name = "alejandra" ;
Original file line number Diff line number Diff line change 22, lib
33
44, actionlint
5+ , action-validator
56, alejandra
67, ansible-lint
78, biome
110111 clang-tools = llvmPackages_latest . clang-tools ;
111112 inherit
112113 actionlint
114+ action-validator
113115 alejandra
114116 ansible-lint
115117 beautysh
You can’t perform that action at this time.
0 commit comments