Repository navigation
chore: add zizmor (pre-commit) and fix its auditor findings - #210
Merged
Merged
Conversation
The installer only bundles micromamba, so 'conda env export' fails with 'conda: command not found'. Reproduce the same conda-style environment.yaml (the format parsed by scripts/make_release.py) from 'micromamba list --json'.
…rt with DIRACGrid#211 - trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files and black were dropped together with their 2021 pins; restore them at current versions (pre-commit-hooks v6.0.0, black 26.10.1) and apply their three small fixes - default_language_version python3: no hook needs exactly Python 3.11 - use the same one-line micromamba env export as DIRACGrid#211, so the two PRs merge in either order Assisted-by: Claude:claude-opus-5-5
- build-and-test: cancel superseded runs only on PRs; a push to main must not cancel the nightly run whose artifacts a release uses - release: the release is created with secrets.GH_TOKEN, so the GITHUB_TOKEN only needs contents: read; fix the concurrency comment (GitHub keeps one pending run per group, a newer dispatch replaces it) Assisted-by: Claude:claude-opus-5-5
fstagni
force-pushed
the
zizmor-auditor
branch
from
November 17, 2026 16:44
7f7e658 to
6ff72b1
Compare
aldbr
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of DIRACGrid/.github#5 (add
zizmoreverywhere as pre-commit), same as DIRACGrid/intercede#43.--no-online-audits).zizmor --no-online-audits --persona=auditor):persist-credentials: falseon all checkouts (artipacked)permissionsminimized with comments (excessive-permissions)run:blocks moved toenv(template-injection)GH_TOKENinrelease.yaml(secrets-outside-env) — release creation needs no GitHub environment.zizmor v1.32.0reports no findings with both the default and the auditor persona.