Skip to content

HDDS-15725. zizmor check should reflect failure in fork#10649

Merged
adoroszlai merged 3 commits into
apache:masterfrom
adoroszlai:HDDS-15725
Jul 2, 2026
Merged

HDDS-15725. zizmor check should reflect failure in fork#10649
adoroszlai merged 3 commits into
apache:masterfrom
adoroszlai:HDDS-15725

Conversation

@adoroszlai

@adoroszlai adoroszlai commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

zizmor workflow added in HDDS-14920 provides feedback via "Code scanning results". The workflow itself passes even if it finds issues to be fixed. This does not work well in forks where code scanning is disabled.

Example (with intentional violation):
https://github.com/adoroszlai/ozone/actions/runs/28570405264/job/84706670204#step:3:1058

To provide better feedback, the workflow should reflect scan results in forks.

Two additional minor tweaks:

  • run zizmor check only for workflow changes
  • make repository owner condition more portable

https://issues.apache.org/jira/browse/HDDS-15725

How was this patch tested?

Same violation with the patch fails:
https://github.com/adoroszlai/ozone/actions/runs/28570585965/job/84707233189#step:3:208

The patch without intentional violation passes:
https://github.com/adoroszlai/ozone/actions/runs/28570809169/job/84707932173#step:3:107

@adoroszlai adoroszlai self-assigned this Jul 2, 2026
@adoroszlai adoroszlai added the CI label Jul 2, 2026
@adoroszlai adoroszlai requested review from dombizita and peterxcli July 2, 2026 09:41

@peterxcli peterxcli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM +1

@adoroszlai adoroszlai merged commit 27763e6 into apache:master Jul 2, 2026
19 checks passed
@adoroszlai adoroszlai deleted the HDDS-15725 branch July 2, 2026 11:33
@adoroszlai

Copy link
Copy Markdown
Contributor Author

Thanks @peterxcli for the review.

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.

2 participants