Skip to content

Zizmor fixes - security findings in GitHub Actions workflows - #1061

Open
HarishPermal wants to merge 3 commits into
google-ai-edge:mainfrom
HarishPermal:add_zizmor
Open

Zizmor fixes - security findings in GitHub Actions workflows#1061
HarishPermal wants to merge 3 commits into
google-ai-edge:mainfrom
HarishPermal:add_zizmor

Conversation

@HarishPermal

Copy link
Copy Markdown

This PR introduces automated security scanning for our GitHub Actions workflows using Zizmor and addresses the findings to ensure our CI/CD pipelines follow security best practices.

  • Added Zizmor Security Scanner: Implemented a new workflow (zizmor.yml) to automatically audit all GitHub Actions workflows for security vulnerabilities (like unpinned dependencies, dangerous permissions, etc.) on pushes and pull requests.
  • Updated Action SHAs: Pinned all GitHub Actions in build_android.yaml and zizmor.yml to their latest peeled commit SHAs rather than lightweight/annotated tags or outdated versions. This satisfies Zizmor's strict requirement for full commit SHA pinning to prevent supply chain attacks.
    • Upgraded actions/checkout to v4 in the Android build workflow.
    • Upgraded actions/setup-java to the latest v4 SHA.
    • Fixed the astral-sh/setup-uv SHA to point to the actual commit SHA rather than the annotated tag object.

@bpartouche46-sys

Copy link
Copy Markdown

Genial

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