Skip to content

Add zizmor fix#442

Merged
elvin03 merged 13 commits intoopen-edge-platform:mainfrom
elvin03:zizmor-fix
Feb 27, 2026
Merged

Add zizmor fix#442
elvin03 merged 13 commits intoopen-edge-platform:mainfrom
elvin03:zizmor-fix

Conversation

@elvin03
Copy link
Copy Markdown
Contributor

@elvin03 elvin03 commented Feb 26, 2026

Merge Checklist

All boxes should be checked before merging the PR

  • The changes in the PR have been built and tested
  • Documentation has been updated to reflect the changes (or no doc update needed)
  • Ready to merge

Description

Add zizmor fix

Any Newly Introduced Dependencies

N/A

How Has This Been Tested?

Trigger GHA

elvin03 and others added 10 commits February 25, 2026 18:21
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
* Update zizmor fix

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

* Update zizmor fix

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

* Revert trivy action

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

---------

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
* Update zizmor fix

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

* Update zizmor fix

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

* Revert trivy action

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

* Update setup Earthly in unit test workflow

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>

---------

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Copilot AI review requested due to automatic review settings February 26, 2026 06:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements security fixes recommended by Zizmor, a GitHub Actions workflow security auditing tool. The changes pin all GitHub Actions to specific commit SHAs instead of mutable version tags, following security best practices to prevent supply chain attacks and ensure reproducible builds.

Changes:

  • Replace version tag references (e.g., @v6.0.2) with commit SHA references plus version comments (e.g., @de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2)
  • Update 20 workflow files across build, test, and scanning workflows
  • Apply consistent SHA pinning pattern for actions/checkout, actions/setup-go, earthly/actions-setup, docker/setup-buildx-action, and actions/upload-artifact

Reviewed changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 22 comments.

Show a summary per file
File Description
.github/workflows/unit-test-and-coverage-gate.yml Pin actions/checkout, earthly/actions-setup, and actions/upload-artifact to commit SHAs
.github/workflows/trivy-scan.yml Pin actions/checkout to commit SHA
.github/workflows/go-lint.yml Pin actions/checkout and actions/setup-go to commit SHAs
.github/workflows/gitleak-scan.yml Pin actions/checkout to commit SHA
.github/workflows/build-ubuntu24-raw.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-ubuntu24-iso.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-ubuntu24-immutable.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-ubuntu24-dlstreamer.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-ubuntu24-arm-raw.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, actions/setup-go, and actions/upload-artifact to commit SHAs
.github/workflows/build-emt3-raw.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-emt3-iso.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-emt3-immutable.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-emt3-dlstreamer.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-elxr12-raw.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-elxr12-iso.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-elxr12-immutable.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-elxr12-dlstreamer.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-elxr12-arm-raw.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, actions/setup-go, and actions/upload-artifact to commit SHAs
.github/workflows/build-azl3-raw.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-azl3-iso.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-azl3-immutable.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-azl3-dlstreamer.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs
.github/workflows/build-azl3-arm-raw.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, actions/setup-go, and actions/upload-artifact to commit SHAs
.github/workflows/boot_tester.yml Pin actions/checkout, docker/setup-buildx-action, earthly/actions-setup, and actions/setup-go to commit SHAs

Comment thread .github/workflows/build-azl3-immutable.yml Outdated
Comment thread .github/workflows/build-ubuntu24-immutable.yml Outdated
Comment thread .github/workflows/build-emt3-raw.yml Outdated
Comment thread .github/workflows/build-emt3-immutable.yml Outdated
Comment thread .github/workflows/build-azl3-iso.yml Outdated
Comment thread .github/workflows/build-elxr12-iso.yml Outdated
Comment thread .github/workflows/build-elxr12-arm-raw.yml Outdated
Comment thread .github/workflows/build-azl3-dlstreamer.yml
Comment thread .github/workflows/build-ubuntu24-iso.yml Outdated
Comment thread .github/workflows/build-elxr12-raw.yml Outdated
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Copy link
Copy Markdown
Contributor

@arodage arodage left a comment

Choose a reason for hiding this comment

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

LGTM

@elvin03 elvin03 merged commit 3eb7280 into open-edge-platform:main Feb 27, 2026
31 of 43 checks passed
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.

3 participants