Skip to content

Conversation

@codegen-sh
Copy link
Contributor

@codegen-sh codegen-sh bot commented Mar 19, 2025

Description

This PR addresses the security vulnerability in the tj-actions/changed-files GitHub Action (CVE-2025-30066). The action was recently compromised, potentially allowing attackers to leak secrets from repositories using this action.

Changes

  • Updated .github/workflows/mypy.yml to pin the tj-actions/changed-files action to a specific commit hash (b2d17c0ca3e4ff20b0ae4b84f93228223b51b8d5) instead of using a version tag (v46.0.1).

Security Impact

This change follows GitHub's recommended best practice of pinning actions to specific commit hashes rather than version tags to mitigate against supply chain attacks. The commit hash corresponds to a verified safe version of the action.

References

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.

0 participants