mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 22:26:29 +09:00
nix, .github: gate workflows on zizmor
Flake check, nix-checks job and prek hook; offline, starting at zero findings.
This commit is contained in:
1 parent
e52ba94b0c
commit
7d07d53837
5 files changed
+50
-1
No files matched your search
@@ -7,3 +7,6 @@ with it; GitHub runs the locked commit and `check-generated` fails a stale
|
||||
lockfile. Same-repo actions are written `$/.github/actions/...`, not `./`, so the
|
||||
lockfile covers what they use. Never pass `--accept-moved`: a moved release tag
|
||||
needs a human.
|
||||
|
||||
zizmor audits every workflow in CI and in the hooks. An exception goes in
|
||||
`.github/zizmor.yml` with its reason.
|
||||
@@ -96,3 +96,14 @@ jobs:
|
||||
- uses: Mic92/hestia@v3.1.0
|
||||
- name: nixos-module
|
||||
run: nix build -L .#checks.x86_64-linux.nixos-module
|
||||
|
||||
zizmor:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: NixOS/nix-installer-action@v1.0.0
|
||||
- uses: Mic92/hestia@v3.1.0
|
||||
- name: zizmor
|
||||
run: nix build -L .#checks.x86_64-linux.zizmor
|
||||
Reference in new issue
Block a user