Restricts workflows to repo members and collaborators#29192
Restricts workflows to repo members and collaborators#29192ahaywood wants to merge 1 commit intoproductionfrom
Conversation
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
|
/bonk see any potential issues with this? |
|
The PR adds
No issues found. The implementation is solid and follows GitHub Actions best practices. |
|
/bonk check the previous review. Does it make sense? |
|
No issues found. The
Both files use correct YAML literal block scalar syntax ( |
|
Preview URL: https://53a052c3.preview.developers.cloudflare.com |
Summary
Add GitHub author association checks to workflows to restrict access to repository members and collaborators only.
Solution
Added
author_associationchecks to both bonk.yml and bigbonk.yml workflows to ensure only users with the following associations can trigger the workflows:OWNER- Repository ownersMEMBER- Organization membersCOLLABORATOR- Repository collaborators