Skip to content

ci: pin actions to commit SHAs and restrict permissions#58

Merged
bfabio merged 1 commit intoitalia:mainfrom
creed-bratton:pin-actions
Apr 14, 2026
Merged

ci: pin actions to commit SHAs and restrict permissions#58
bfabio merged 1 commit intoitalia:mainfrom
creed-bratton:pin-actions

Conversation

@creed-bratton
Copy link
Copy Markdown
Contributor

Actions pinned to mutable tags are vulnerable to tag-moving supply chain attacks.

  • Pin all actions to their current commit SHA (tag kept as comment)
  • Move permissions from workflow level to job level in release.yml (was already partially set)
  • Add permissions: {} at workflow level + contents: read for lint and tests jobs

@bfabio bfabio merged commit d3bf30c into italia:main Apr 14, 2026
3 checks passed
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.

2 participants