Skip to content

Conversation

@martincostello
Copy link
Owner

Scan GitHub Actions workflows with zizmor and fix/suppress findings.

Scan GitHub Actions workflows with zizmor and fix/suppress findings.
@martincostello martincostello added the enhancement New feature or request label Aug 16, 2025
Copilot AI review requested due to automatic review settings August 16, 2025 15:01
@martincostello martincostello added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 16, 2025
Copy link

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 integrates zizmor, a security linter for GitHub Actions workflows, and addresses security findings by pinning action versions to specific commit hashes and adding security configurations. The changes enhance workflow security by implementing commit hash pinning, adding proper checkout configurations, and introducing comprehensive workflow security scanning.

Key changes:

  • Added zizmor security scanning to the lint workflow
  • Pinned all GitHub Actions to specific commit hashes for security
  • Enhanced checkout configurations with security-focused options

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/lint.yml Added zizmor security scanning, pinned action versions, and enhanced checkout security
.github/workflows/codeql.yml Pinned CodeQL actions to commit hashes and secured checkout configuration
.github/workflows/build.yml Pinned setup actions and improved package version management for Spectral CLI
.github/workflows/benchmark.yml Pinned all actions to commit hashes and secured checkout steps
Comments suppressed due to low confidence (1)

.github/workflows/build.yml:49

  • Version v4.6.2 of actions/upload-artifact may not exist. My knowledge cutoff is January 2025, and this appears to be a future version. Please verify this version and commit hash are correct.
        show-progress: false

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@martincostello martincostello enabled auto-merge (rebase) August 16, 2025 15:03
@martincostello martincostello merged commit 2452be0 into main Aug 16, 2025
10 checks passed
@martincostello martincostello deleted the add-zizmor branch August 16, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants