Skip to content

CI: Harden GHA configuration#19

Merged
mrakitin merged 2 commits intoNSLS2:mainfrom
tacaswell:harden_gha
Jan 16, 2026
Merged

CI: Harden GHA configuration#19
mrakitin merged 2 commits intoNSLS2:mainfrom
tacaswell:harden_gha

Conversation

@tacaswell
Copy link
Contributor

@tacaswell tacaswell commented Jul 9, 2025

Apply recommended hardening steps including:

  • pinning to a SHA any actions used
  • not persisting the read token on checkout
  • setting the default permissions to read-only

tacaswell added 2 commits July 8, 2025 19:04
This adjusts the defaults per suggestions of zizmor to
reduce possible risks from giving GHA tasks more permissions
that required.
Reduces risk of arbitrary code is run by attacker.
@tacaswell tacaswell changed the title "CI: Harden GHA configuration" CI: Harden GHA configuration Jul 9, 2025
@mrakitin mrakitin merged commit a4d06de into NSLS2:main Jan 16, 2026
1 check failed
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