datastax / diagnostic-collection

Diagnostic Collector for Apache Cassandra
Apache License 2.0
28 stars 36 forks source link

Make CI use pr_target event #48

Closed rzvoncek-ds closed 3 years ago

rzvoncek-ds commented 3 years ago

From [1], this allows running CI code from master, but use the commit from the PR, even if it's from a fork. This way, Github feels safe exposing secrets to the CI (because the CI code is harder to compromise).

[1] https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/