Skip to content

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

Merged
adoroszlai merged 1 commit into
apache:masterfrom
adoroszlai:HDDS-15725
Jul 2, 2026
Merged

HDDS-15725. zizmor check should reflect failure in fork#81
adoroszlai merged 1 commit 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.

Additional minor tweak:

  • run zizmor check only for workflow changes

Also adopts the following change from other Ozone repos:

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

How was this patch tested?

Tested in ozone repo:

Without the patch passes despite intentional violation:
https://github.com/adoroszlai/ozone/actions/runs/28570405264/job/84706670204#step:3:1058

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 (also in this repo):
https://github.com/adoroszlai/ozone/actions/runs/28570809169/job/84707932173#step:3:107
https://github.com/adoroszlai/ozone-docker-runner/actions/runs/28587522944

@adoroszlai adoroszlai requested a review from peterxcli July 2, 2026 11:58
@adoroszlai adoroszlai self-assigned this Jul 2, 2026
@adoroszlai adoroszlai added the CI label Jul 2, 2026

@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 a7eaa43 into apache:master Jul 2, 2026
3 checks passed
@adoroszlai adoroszlai deleted the HDDS-15725 branch July 2, 2026 12:10
@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