-
Notifications
You must be signed in to change notification settings - Fork 14
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
Preview Action Failing on Forks? #80
Comments
Hi @markphelps sorry you're experiencing this. We'll update our documentation before closing this ticket. GitHub does restrict permissions on forks of public repositories. I'm on my phone so I can't get too deep but hopefully these links help:
|
Cheers, thanks @axisofentropy ! I have updated our workflow to not run on PRs from forks. Which is a bit unfortunate tbh since it is one of the main use cases we have for preview envs for an open source project |
@markphelps For open source projects, we recommend using a two-stage workflow, as described here. This allows outside contributors to safely preview pull requests. You can see an example on the |
https://github.com/marketplace/actions/git-auto-commit#use-in-forks-from-public-repositories stefanzweifel/git-auto-commit-action#211 https://github.com/orgs/community/discussions/26829#discussioncomment-3253580 winglang/wing#5115 pyiron/actions#44 UffizziCloud/preview-action#80 ASFHyP3/hyp3-isce2#179 tveastman/secateur#54 stm32-rs/stm32-rs#949 actions/gh-actions-cache#73
https://github.com/marketplace/actions/git-auto-commit#use-in-forks-from-public-repositories stefanzweifel/git-auto-commit-action#211 https://github.com/orgs/community/discussions/26829#discussioncomment-3253580 winglang/wing#5115 pyiron/actions#44 UffizziCloud/preview-action#80 ASFHyP3/hyp3-isce2#179 tveastman/secateur#54 stm32-rs/stm32-rs#949 actions/gh-actions-cache#73
👋🏻 the reusable workflow seems to fail consistently on PRs from a fork. Is this a known issue?
https://github.com/flipt-io/flipt/actions/runs/6962697989/job/18947118820
^This PR is from a user who forked our OSS project.
The text was updated successfully, but these errors were encountered: