Skip to content

Resolve zizmor security scan findings in workflow files - #1175

Merged
tomk-amd merged 4 commits into
mainfrom
users/jbonnell-amd/security-scan-fixes
Nov 13, 2026
Merged

tomk-amd merged 4 commits into
mainfrom
users/jbonnell-amd/security-scan-fixes

Conversation

@jbonnell-amd

Copy link
Copy Markdown
Collaborator

Problem

The Security scan (zizmor) fails on .github/workflows/ci-manylinux.yml whenever the file is touched (seen on #1174). The findings were pre-existing.

Changes

  • unpinned-images / unpinned-uses: pin the CI container to a digest and pin all actions to commit SHAs (with version comments).
  • artipacked: set persist-credentials: false on checkout.
  • template-injection: pass inputs.cmake_config_preset, inputs.crypto_backend, inputs.s3_bucket_env and inputs.s3_root_directory through step-level env: and reference them as quoted shell variables; replace ${{ env.* }} expansions in the build step with shell variables.
  • Validate s3_root_directory against ^[A-Za-z0-9._/-]+$ in the legacy-nightly branch before it is written to GITHUB_ENV.

Notes

  • No behaviour change intended for valid inputs.
  • Not yet verified by running the workflow; the Security scan on this PR is the first check. A manylinux run is still needed to confirm the build and S3 steps.

🤖 Generated with Claude Code

@jbonnell-amd
jbonnell-amd requested a review from a team as a code owner November 10, 2026 16:30
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Security scan found no critical or high findings on lines changed by this pull request

4 medium, low, or unrated finding(s) are not listed; the scan run has them.

View the security scan run for complete reports.

“New” means the finding is located in a changed file on an added or modified line; it is not a base-versus-head findings delta.

@tomk-amd

Copy link
Copy Markdown
Collaborator

This will need to be done for all of the other workflows too...

@jbonnell-amd jbonnell-amd changed the title Resolve zizmor security scan findings in ci-manylinux workflow Resolve zizmor security scan findings in workflow files Nov 11, 2026
@jbonnell-amd

Copy link
Copy Markdown
Collaborator Author

This will need to be done for all of the other workflows too...

I've updated this PR to include similar changes to the remaining workflow files as well (besides the codeQL/security scan workflow files)

@tomk-amd
tomk-amd merged commit a58e25d into main Nov 13, 2026
42 of 49 checks passed
@jbonnell-amd
jbonnell-amd deleted the users/jbonnell-amd/security-scan-fixes branch November 27, 2026 20:18

This branch was previously deployed

1 inactive deployment
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