Skip to content

RATIS-2699. zizmor-action upgrade may break silently - #1594

Open
adoroszlai wants to merge 1 commit into
apache:masterfrom
adoroszlai:RATIS-2699
Open

adoroszlai wants to merge 1 commit into
apache:masterfrom
adoroszlai:RATIS-2699

Conversation

@adoroszlai

@adoroszlai adoroszlai commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Similar to apache/ratis-thirdparty#195, except the workflow fixes to satisfy new zizmor-action rules, since it is not upgraded to 0.6.4 in ratis yet.

Rules introduced by new versions may fail silently in the PR that bumps zizmor-action (problem is reported in details, but check still passes). The failure will surface only in forks or in PRs changing the offending workflow files.

With GitHub Advanced Security (the default) problems are reported in the repo's Code scanning page. When this feature is disabled, any problems reported cause the check to fail.

This change keeps Advanced Security only for push events in Apache repo, which allows pull requests touching only zizmor.yaml (e.g. for version bump) to catch problems in other files.

https://issues.apache.org/jira/browse/RATIS-2699

How was this patch tested?

zizmor check in fork:
https://github.com/adoroszlai/ratis/actions/runs/35078871951

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant