Skip to content

feat(#571): add zizmor static analysis workflow#968

Draft
kreinba wants to merge 2 commits into
objectionary:masterfrom
kreinba:571-zizmor
Draft

feat(#571): add zizmor static analysis workflow#968
kreinba wants to merge 2 commits into
objectionary:masterfrom
kreinba:571-zizmor

Conversation

@kreinba

@kreinba kreinba commented Jun 21, 2026

Copy link
Copy Markdown

Issue #571 asks for zizmor in the build pipeline. The tool is a static analyzer for GitHub Actions workflows, catching things like unpinned actions, excessive permissions and template-injection risks before they reach master.

This change adds a single workflow at .github/workflows/zizmor.yml. It runs on push to master and on every pull request to master, matching the trigger shape used by actionlint.yml, qulice.yml, mvn.yml and the rest. The job uses zizmorcore/zizmor-action@v0.5.6 in its default mode, which is the recommended one for public repositories: findings land on the Security tab via code scanning rather than failing the build outright, so existing workflows are not blocked while their issues are triaged. Permissions on the job are scoped explicitly to security-events: write, contents: read, and actions: read, with the top-level permissions block set to contents: read.

I did not run a local Maven build for this change, since the only file touched is a GitHub Actions YAML; the workflow itself will be exercised by Actions on this pull request, which is the relevant signal here. No source, tests, or pom.xml were modified.

Closes #571

@github-actions github-actions Bot added the core Changes are made to core parts of the code base label Jun 21, 2026
Comment thread .github/workflows/zizmor.yml Fixed
Comment thread .github/workflows/zizmor.yml Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes are made to core parts of the code base

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zizmor static analysis tool missing from build pipeline

2 participants