cloudfoundry-incubator / quarks-operator

BOSH releases deployed on Kubernetes
https://www.cloudfoundry.org/project-quarks/
Apache License 2.0
49 stars 35 forks source link

Run on PRs from forks #1215

Closed manno closed 4 years ago

manno commented 4 years ago

This is more complicated than I thought:

pull-request-target makes sure the workflow definition is from the repo, but secrets might still be exposed to code from the fork.

While the previous workflow looks safe in that regard, it would trigger tests twice if any label was on a local, approved PR.

The duplicated workflow makes sure to checkout the forked code.

#175030373