Skip to content

Add zizmor workflow security analysis - #72

Merged
potiuk merged 1 commit into
mainfrom
add-zizmor
Sep 10, 2026
Merged

Add zizmor workflow security analysis#72
potiuk merged 1 commit into
mainfrom
add-zizmor

Conversation

@potiuk

@potiuk potiuk commented Sep 10, 2026

Copy link
Copy Markdown
Member

Adds zizmor as a CI check over .github/, so
GitHub Actions security problems (script injection, unpinned actions,
over-broad permissions, credential persistence) get caught in review
rather than after the fact.

What's here

  • .github/workflows/zizmor.yml — runs uvx zizmor@latest over the
    repo on pushes to main that touch .github/, on PRs that touch
    .github/, and on workflow_dispatch. Findings are reported as
    annotations on the offending workflow lines and fail the job.
    The workflow itself is clean: contents: read only,
    persist-credentials: false, and both actions pinned to commit SHAs.

  • .github/zizmor.yml — config waiving the one finding that is
    intentional: artipacked on getcalendar.yml, which deliberately
    reuses the credentials persisted by actions/checkout to push the
    refreshed calendar data back to the branch.

  • .github/workflows/getcalendar.yml — pins actions/checkout to a
    commit SHA (v4.4.0) and comments why the persisted credentials are
    needed there.

Dependabot (added in #70) will keep the pinned SHAs current.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RtqKBTSR2jQF7xhHMBpdoy

Adds a CI job that runs zizmor over .github/ on pushes to main, on pull
requests touching .github/, and on demand. Findings are surfaced as
annotations on the offending workflow lines and fail the job.

Also pins actions/checkout to a commit SHA in the calendar workflow and
adds a zizmor config that waives the artipacked finding there: that
workflow deliberately reuses the credentials persisted by the checkout
to push the refreshed calendar data back to the branch.

Generated-by: Claude Opus 5
Claude-Session: https://claude.ai/code/session_01RtqKBTSR2jQF7xhHMBpdoy
@potiuk
potiuk merged commit 4db918b into main Sep 10, 2026
2 checks passed
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.

1 participant