Skip to content

ci(zizmor): Gate statt informativ - #8

Merged
marcohost33-maker merged 1 commit into
mainfrom
ci/zizmor-gate
May 25, 2026
Merged

ci(zizmor): Gate statt informativ#8
marcohost33-maker merged 1 commit into
mainfrom
ci/zizmor-gate

Conversation

@marcohost33-maker

Copy link
Copy Markdown
Owner

zizmor war continue-on-error (informativ). Jetzt GATE (Findings -> CI rot). Lumos ist public -> advanced-security:true + Code-Scanning-Dashboard bleiben unveraendert.

@marcohost33-maker
marcohost33-maker merged commit dfb110f into main May 25, 2026
8 checks passed
@marcohost33-maker
marcohost33-maker deleted the ci/zizmor-gate branch May 25, 2026 06:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 16c552a74e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 34 to +35
- name: Run zizmor
# zizmor exits non-zero when it finds issues. Run as informational
# (continue-on-error) so the job surfaces findings via SARIF/log
# without blocking unrelated CI. Fix findings to clear the warning.
continue-on-error: true
# zizmor exits non-zero bei Findings -> dieser Step GATET die CI (rot = blockt merge).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve SARIF upload when zizmor returns findings

Making Run zizmor hard-fail here causes the job to stop before Upload SARIF runs in the common case where zizmor reports issues, because step if conditions are still subject to the default success() check unless always()/failure() is used. In this workflow, that means findings now turn CI red and skip SARIF publication, so code-scanning visibility is lost exactly when issues are detected. If gating is intended, the upload step should be made unconditional-on-failure (for example via always() plus the SARIF existence check) so findings still reach the dashboard.

Useful? React with 👍 / 👎.

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