Skip to content

chore: workflow hardening — pinact + zizmor [automated] - #16

Open
infra-hardening[bot] wants to merge 1 commit into
mainfrom
workflow-hardening/zizmor-2026-06-19
Open

chore: workflow hardening — pinact + zizmor [automated]#16
infra-hardening[bot] wants to merge 1 commit into
mainfrom
workflow-hardening/zizmor-2026-06-19

Conversation

@infra-hardening

Copy link
Copy Markdown

Automated workflow hardening

This PR was generated by the pt-infra-hardening pipeline.

Changes

.github/workflows/frogbot.yml — marker

  • Added inert marker comment to carry the "Needs human attention" section (no mechanical fixes were applicable).

⚠️ Needs human attention

These findings could not be fixed automatically and need a maintainer's decision:

  • .github/workflows/frogbot.yml:3dangerous-triggers: pull_request_target is almost always used insecurely; a human needs to evaluate whether this trigger is necessary and, if so, ensure it is used safely (e.g. restrict to read-only permissions, avoid checking out untrusted code). → https://docs.zizmor.sh/audits/#dangerous-triggers

    Once reviewed and accepted, prevent future runs from re-flagging this by adding an inline suppression comment on the offending line in .github/workflows/frogbot.yml:

    # zizmor: ignore[dangerous-triggers] <your reason here>

    Replace <rule-name> with the rule id without the zizmor/ prefix (e.g. secrets-inherit).


Suppressing findings

To prevent a finding from being flagged in future hardening runs — whether it was fixed automatically or flagged for manual review — add an inline comment on the relevant line:

# zizmor: ignore[<rule-name>] <your reason here>

Replace <rule-name> with the audit name (e.g. artipacked, secrets-inherit). See zizmor audit docs for all rule names.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants