-
Notifications
You must be signed in to change notification settings - Fork 81
Fix: Remove pull_request
event from preview deploys
#109
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was struggling with this last week. If this fixes it, I will be so happy. Thanks Thomas! 🙌🏼
@IAmHughes it looks like the action is firing now, but the checkout syntax doesn't work for PRs as it does for pushes. similarly, it looks like it is firing the action twice now. Is it safe to remove the "push" event entirely and only start builds once a PR is open? |
pull_request
event from preview deploys
@bpmct as we discussed, when you give a 👍 I'll merge. |
pull_request
was added as an event type to trigger deploys to preview from forks to assist with the OSS contribution process. Unfortunately, we depend on a secret to access a private repository which is NOT passed to the fork for security purposes (GitHub security enforces this). Therefore, I'm removing thepull_request
event entirely which should fix the issues we were seeing.Note: Pushes to branches in PRs will still trigger builds