File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -450,6 +450,7 @@ use nix
450450- [ topiary] ( https://github.com/tweag/topiary )
451451- [ treefmt] ( https://github.com/numtide/treefmt )
452452- [ trim-trailing-whitespace] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/trailing_whitespace_fixer.py )
453+ - [ zizmor] ( https://github.com/zizmorcore/zizmor )
453454
454455### Custom hooks
455456
Original file line number Diff line number Diff line change @@ -4152,6 +4152,14 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.fourm
41524152 in
41534153 "${ hooks . yamllint . package } /bin/yamllint ${ cmdArgs } " ;
41544154 } ;
4155+ zizmor = {
4156+ name = "zizmor" ;
4157+ description = "Static analysis for GitHub Actions" ;
4158+ files = "^.github/workflows/" ;
4159+ types = [ "yaml" ] ;
4160+ package = tools . zizmor ;
4161+ entry = "${ hooks . zizmor . package } /bin/zizmor" ;
4162+ } ;
41554163 zprint =
41564164 {
41574165 name = "zprint" ;
Original file line number Diff line number Diff line change 9595, revive ? null
9696, uv
9797, vale
98+ , zizmor
9899} :
99100
100101
178179 vale
179180 yamlfmt
180181 yamllint
182+ zizmor
181183 zprint
182184 ;
183185 inherit ( elmPackages ) elm-format elm-review elm-test ;
You can’t perform that action at this time.
0 commit comments