workflow-kotlin icon indicating copy to clipboard operation
workflow-kotlin copied to clipboard

CODEOWNERs verification workflow fails when run on PR from forked repo

Open zach-klippenstein opened this issue 4 years ago • 0 comments
trafficstars

GitHub actions running on PRs from forked only have access to the source repo's secrets, not the target's. The verification workflow needs our API token. This is a known issue: https://github.community/t/make-secrets-available-to-builds-of-forks/16166

We can workaround by checking for that secret and only running the owners check if it's found.

zach-klippenstein avatar Feb 08 '21 23:02 zach-klippenstein