Skip to content

Conversation

tacaswell
Copy link
Member

Apply recommended hardening steps including:

  • pinning to a SHA any actions used
  • not persisting the read token on checkout
  • setting the default permissions
  • adding a depandabot file for GHA

May include:

- Avoids risky string interpolation.
- Prevents checkout premissions from leaking
Reduces risk of arbitrary code is run by attacker.
@isaacrobinson2000
Copy link
Member

@tacaswell Thanks for the GHA PR, all changes look good to me, I'll go ahead and merge.

@isaacrobinson2000 isaacrobinson2000 merged commit 7b0a9ca into matplotlib:main Jul 18, 2025
9 checks passed
@tacaswell tacaswell deleted the harden_gha branch July 18, 2025 19:30
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