Skip to content

chore: add zizmor (pre-commit) and fix its auditor findings - #5

Open
fstagni wants to merge 3 commits into
DIRACGrid:iostreamConfigurablefrom
fstagni:zizmor-auditor
Open

fstagni wants to merge 3 commits into
DIRACGrid:iostreamConfigurablefrom
fstagni:zizmor-auditor

Conversation

@fstagni

@fstagni fstagni commented Nov 15, 2026

Copy link
Copy Markdown

Part of DIRACGrid/.github#5 (add zizmor everywhere as pre-commit), same as DIRACGrid/intercede#43.

  • pre-commit: zizmor hook (--no-online-audits).
  • build.yml brought zizmor-clean with the auditor persona (zizmor --no-online-audits --persona=auditor):
    • all actions pinned to commit SHAs (checkout, setup-pixi, upload/download-artifact)
    • persist-credentials: false on checkout (artipacked)
    • workflow permissions minimized (excessive-permissions)
    • concurrency group (concurrency-limits)

zizmor v1.32.0 reports no findings with both the default and the auditor persona.

@fstagni
fstagni marked this pull request as ready for review November 15, 2026 14:17
The zizmor hook needs no particular Python; pinning python3.11 makes
pre-commit fail on machines without that exact interpreter.

Assisted-by: Claude:claude-opus-5-5
fstagni added a commit to fstagni/tornado that referenced this pull request Nov 18, 2026
…= 7d)

Keep the solve policy uniform with the other DIRACGrid pixi repos
(DIRACGrid/.github#7): packages released less than 7 days ago are never
picked when (re-)solving.

The CI pixi is bumped to v0.84.1 (as in the other repos): the pinned
v0.59.0 does not understand the relative "7d" form of exclude-newer.

Stacked on DIRACGrid#5 (zizmor).

Part of DIRACGrid/.github#5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants