ITADN

Following Kubernetes Policies for GitHub Actions

#5552Opencamilamacedo86 创建于 2026-03-27
priority/important-soonkind/feature
C
camilamacedo86commented
### What do you want to happen? ## Context The Kubernetes project has adopted a new [GitHub Actions Security Policy](https://github.com/kubernetes/community/blob/main/github-management/github-actions-policy.md) [1] to strengthen our supply chain security across all repositories under Kubernetes GitHub organizations. This policy is created in response to recent security incidents, including the [Trivy GitHub Actions vulnerability](https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23) [2]. As per the new policy, all projects under Kubernetes GitHub organizations using GitHub Actions must reference actions in workflow files using full-length commit SHA hashes instead of mutable references such as `latest`, tags, branches (like `master`, `main`). This prevents potential supply chain attacks where compromised actions could inject malicious code through force-updated references. Immediate Action Required: Project maintainers are requested to update their GitHub Actions workflows to comply with this policy by April 15, 2026. After this date, the Kubernetes project will enforce the "Require actions to be pinned to a full-length commit SHA" policy at the enterprise level, and any github action workflows using mutable references will fail to run. Key Requirements: - Pin all actions to 40-character commit SHA hashes (e.g., `uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1`) - New workflows must comply before merge - We recommend enabling Dependabot for GitHub Actions to automatically keep SHA-pinned actions up to date If you have questions, please reach out on the #github-management [3] slack channel. ## What we need to do: - Check if we should not either adopt the policy - Check if we should not change the GtiHub actions for Kubebuilder itssef as for the scaffolds produced by the tool. ### Extra Labels _No response_
0 条评论