Skip to content

Conversation

@arcanis
Copy link
Contributor

@arcanis arcanis commented Nov 28, 2025

GitHub orgs can enforce the GitHub Actions they use to be referenced through SHA-pinned versions to protect against supply chain attacks. When the setting is enabled, actions can't run if they are incorrectly pinned, or if they use other actions that are incorrectly pinned:

Screenshot 2025-11-28 at 10 17 28

This is the case of ansible-lint, where actions/setup-python is pinned through a mutable tag. While we could say that the actions/xxx repos are probably safe considering they are used everywhere, GitHub doesn't allow to opt-out specific repos from the enforcement, so pinning them is necessary as well.

@ssbarnea ssbarnea enabled auto-merge (squash) December 10, 2025 10:11
@ssbarnea ssbarnea disabled auto-merge December 10, 2025 10:14
@ssbarnea ssbarnea changed the title Change setup-python action to specific commit fix: change setup-python action to specific commit Dec 10, 2025
@ssbarnea ssbarnea merged commit 63aa18f into ansible:main Dec 10, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants