opensourcerouting / frr

Free Range Routing Protocol Suite
Other
37 stars 14 forks source link

github: Use pull_request_target as a target #51

Closed ton31337 closed 2 years ago

ton31337 commented 2 years ago

And drop checkout action - not needed.

Due to the dangers inherent to automatic processing of PRs, GitHub’s standard pull_request workflow trigger by default prevents write permissions and secrets access to the target repository. However, in some scenarios such access is needed to properly process the PR.

To this end the pull_request_target workflow trigger was introduced.

Signed-off-by: Donatas Abraitis donatas@opensourcerouting.org