Skip to content

HDDS-16816. Pin first-party actions to a major version tag - #11456

Open
adoroszlai wants to merge 9 commits into
apache:masterfrom
adoroszlai:HDDS-16816
Open

adoroszlai wants to merge 9 commits into
apache:masterfrom
adoroszlai:HDDS-16816

Conversation

@adoroszlai

@adoroszlai adoroszlai commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

The GitHub Actions Policy requires a specific git hash only for external actions; actions in the apache/*, github/* and actions/* namespaces may be used without that restriction. Pinning those to a major version tag rather than to a hash lets a patch or minor release arrive without a pull request, which removes a large share of the Dependabot traffic a project sees. External actions still MUST be pinned to a specific git hash. (source)

  • This PR updates workflows to pin actions/* and apache/* by major version instead of SHA, as recommended by Apache Infra above. github/* actions are not used here.
  • Configure zizmor to allow such pinning.
  • Make sure zizmor workflow is triggered by changes in zizmor config.

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

How was this patch tested?

CI: https://github.com/adoroszlai/ozone/actions/runs/37925275778
zizmor: https://github.com/adoroszlai/ozone/actions/runs/38028809392
asf-allowlist-check: https://github.com/adoroszlai/ozone/actions/runs/38028771269

@adoroszlai adoroszlai added the CI label Oct 9, 2026
@adoroszlai adoroszlai self-assigned this Oct 9, 2026
@adoroszlai
adoroszlai marked this pull request as draft October 10, 2026 05:40
@adoroszlai

Copy link
Copy Markdown
Contributor Author

Test failure in integration (container) is not relevant.

@smengcl smengcl 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.

+1. Thanks @adoroszlai

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