Skip to content

Conversation

@Fdawgs
Copy link
Contributor

@Fdawgs Fdawgs commented Feb 24, 2025

This PR:

  • Removes Git credentials after checkout as a security precaution by setting persist-credentials to false. They are not used after the initial checkout, and this stops them from accidentally leaking through a script; see related GitHub security post and related actions/checkout issue
  • Declares the minimum permissions for the workflows to run at the workflow level in feature.yaml and at the job level in main.yaml, following principle of least privilege; see related GitHub security post

@Fdawgs Fdawgs closed this Apr 24, 2025
@Fdawgs Fdawgs deleted the ci/perms branch April 24, 2025 13:32
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.

1 participant