Skip to content

chore: Apply security best practices from StepSecurity - #9

Merged
mirzak merged 1 commit into
mainfrom
chore/GHA-151105-stepsecurity-remediation
Oct 15, 2025
Merged

chore: Apply security best practices from StepSecurity#9
mirzak merged 1 commit into
mainfrom
chore/GHA-151105-stepsecurity-remediation

Conversation

@mirzak

@mirzak mirzak commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Copilot AI review requested due to automatic review settings October 15, 2025 11:10

Copilot AI left a comment

Copy link
Copy Markdown

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 best practices recommended by StepSecurity for GitHub Actions workflows. The changes harden workflow runners by auditing outbound calls and pin action versions to specific commit SHAs to prevent supply chain attacks.

  • Adds the step-security/harden-runner action to all workflows with audit egress policy
  • Pins all GitHub Actions to specific commit SHAs instead of using version tags
  • Introduces new security-focused workflows for dependency review and CodeQL analysis
  • Configures Dependabot to keep GitHub Actions dependencies up to date

Reviewed Changes

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

Show a summary per file
File Description
.github/workflows/scorecard.yaml Added harden-runner step and pinned codeql-action to commit SHA
.github/workflows/pytest.yml Added harden-runner step and pinned all actions to commit SHAs
.github/workflows/dependency-review.yml New workflow to scan dependencies for known vulnerabilities in PRs
.github/workflows/conventional-commit.yml Added harden-runner step and pinned actions to commit SHAs
.github/workflows/codeql.yml New workflow for CodeQL security scanning on Python code
.github/dependabot.yml New configuration to enable daily Dependabot updates for GitHub Actions

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

@mirzak
mirzak merged commit 32e4fa9 into main Oct 15, 2025
8 checks passed
@mirzak
mirzak deleted the chore/GHA-151105-stepsecurity-remediation branch October 15, 2025 11:13
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