-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PRs from forks are not running GitHub Actions properly #2556
PRs from forks are not running GitHub Actions properly #2556
Comments
It could also be this (which isn't showing up) - hmm https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks |
@erbridge / @pedantic-git - not sure if you can shed any light on this im feeling very out my depth |
Here's my guess: Currently your workflow is set to on push. A PR in a fork never pushes to your repo so the workflow is never activated. I think you need to add that pull_request_target but I'm not sure if that will cause double-activation for PRs in your own repo. Afaik there's no way for forks to kick off workflows automatically (because an attacker could fork your repo just to use up all your GHA minutes) but hopefully changing that will at least cause the approval button to appear. |
Description
2 new contributors have done PRs from forks and GitHub isn't loading properly. The below action just never starts. A Google I did before hinted this is something to do with our key config, but leaving here for further investigation.
Promising stackoverflow answer here: https://stackoverflow.com/a/69169858
Motivation
We want to have people contribute to the repo without needing to add them into our org.
The text was updated successfully, but these errors were encountered: