freezy / VisualPinball.Engine

:video_game: Visual Pinball Engine for Unity
https://docs.visualpinball.org
GNU General Public License v3.0
396 stars 62 forks source link

ci: allow forked PRs to build and test with 'safe to test' label #428

Closed jsm174 closed 2 years ago

jsm174 commented 2 years ago

This PR will allow PRs from forked repos to build using our Unity license as long the PR is labeled "safe to test".

This borrows the idea from: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/

Always review the PR to make sure no malicious changes to the workflow files have been made, prior to labeling with "safe to test".

PRs from this repository should be allowed to automatically run since we compare the repo full name first.

This is difficult to check without first merging. If this fails, we can always revert back.