Skip to content

HDDS-16483. zizmor-action upgrade may break silently - #110

Merged
adoroszlai merged 1 commit into
apache:masterfrom
adoroszlai:HDDS-16483
Sep 16, 2026
Merged

adoroszlai merged 1 commit into
apache:masterfrom
adoroszlai:HDDS-16483

Conversation

@adoroszlai

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 yet upgraded to 0.6.4 here.)

Rules introduced by new versions zizmor-action may fail silently in the PR that bumps ithe 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 enabled for zizmor-action (the default setting), 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/HDDS-16483

How was this patch tested?

Similar change tested in detail in apache/ratis-thirdparty#195.

zizmor check in fork:
https://github.com/adoroszlai/ozone-docker-runner/actions/runs/35080839148

@dombizita dombizita left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @adoroszlai!

@adoroszlai

Copy link
Copy Markdown
Contributor Author

Thanks @dombizita for the review.

@adoroszlai
adoroszlai merged commit 60bf363 into apache:master Sep 16, 2026
3 checks passed
@adoroszlai
adoroszlai deleted the HDDS-16483 branch September 16, 2026 11:59
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.

2 participants