Skip to content

Conversation

tacaswell
Copy link
Collaborator

@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:05
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
Copy link
Collaborator

@maffettone maffettone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failures are not due to GHA hardening.

@maffettone maffettone merged commit 3c04e94 into NSLS2:main Jul 9, 2025
2 of 4 checks passed
@tacaswell tacaswell deleted the harden_gha branch July 9, 2025 13:18
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