Add pinact and zizmor workflow checks#387
Merged
Merged
Conversation
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds GitHub Actions workflow security checks (pinact + zizmor) and updates existing workflows to pin all referenced actions to immutable commit SHAs for supply-chain hardening.
Changes:
- Add a new
zizmorworkflow to scan GitHub Actions workflows for security issues. - Add a new
pinactworkflow to verify actions are pinned to commit SHAs. - Update existing workflows to replace tag/branch-based
uses:references with SHA-pinned references.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
.github/workflows/zizmor.yaml |
New workflow to run zizmor on workflow/action changes (and on main pushes). |
.github/workflows/pinact.yaml |
New workflow to verify action pinning via pinact. |
.github/workflows/copilot-setup-steps.yaml |
Pin actions/checkout and pnpm-install actions to SHAs. |
.github/workflows/ci-cd.yaml |
Pin checkout, pnpm-install, changesets, and Docker actions to SHAs. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/labd/commercetools-node-mock/sessions/7c07e934-56bd-45fe-9931-280ad788ac1c Co-authored-by: demeyerthom <8173199+demeyerthom@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds two GitHub Actions workflow checks:
All existing actions have been pinned to their commit SHAs as part of this PR.