|
|
|
|
|
by cmsj
1739 days ago
|
|
Indeed, pull_request_target should be avoided. The better model to use here is "pull_request" to do the work of building/testing a PR, and then a separate workflow that triggers on "workflow_run" to collect the results and attach them to the PR. It's really not a lot of fun to implement though :/ |
|
https://securitylab.github.com/research/github-actions-preve...
Kinda hard to expect average users to grok this, running a follow-up workflow in a secure context with some carried over artifacts should be trivial to do declaratively.