-
Notifications
You must be signed in to change notification settings - Fork 151
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
Github Actions do not work on forked PR's #509
Comments
Hello. I finally have some time to go through all of the issues here. This is first on the priority list: to allow forked PR's. I'm starting today to review what the current state / problem is. |
I think I've found the root of the problem. Currently the copyright action runs on each PR update and updates the PR branch with missing copyrights. There is some strange GH Action behavior where actions will not get retriggered using the default GH token. Therefore I have been using a repository secret token. However this secret token is of course not exposed to forks. I think the solution is to move the copyright action out of the PR check and into the "push to main" check. Of course all of the runners seem to be down right now so I can't test yet... |
I just tested on a fork I made and it seems to be working. I'm updating your PR's now to test. |
As per the example from GitHub docs:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-run-job-for-specific-repository
It would be better to add a conditions in the Github actions workflows in order for them to run only on
gopro/OpenGoPro
and prevent them to run on forked repositories.The text was updated successfully, but these errors were encountered: