-
Notifications
You must be signed in to change notification settings - Fork 200
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
Cannot submit PRs from forks #256
Comments
Pinning this issue to improve visibility for anyone trying to contribute. Right now we have a item in our short-term backlog to get our CI/CD workflows working on forks - until then, if you are someone looking to submit a pull request, please request access through https://www.winglang.io/ to get membership access to the repo, and then you can create a branch directly. Thanks! |
The `build` workflow needs to be simplified/split-up in preparation for #256. The alert workflow doesn't need to run in forks, nor does it even need to run on push. This is one less thing to worry about in forks (check_run events should not be triggered by forks AFAIK) *By submitting this pull request, I confirm that my contribution is made under the terms of the [Monada Contribution License](https://docs.winglang.io/terms-and-policies/contribution-license.html)*.
Because the workflows won't run until merged to main. My fork at https://github.com/MarkMcCulloh/wing has example of the workflow running on a fork (AKA a place that doesn't have access to all the secrets). I propose an admin force merges this PR. ### What's going on here: - build workflow now uses pull_request_target in addition to push (for `main` only) - Ensured PROJEN_GITHUB_TOKEN is only used in places that would have access to it (pushes to main on our repo) - GITHUB_TOKEN should have all the permissions needed to do what we need in forks - Simplified the self-mutation logic and verified it works in a fork. Eventually, the self mutator won't be specific to wingsdk :) Fixes #256 *By submitting this pull request, I confirm that my contribution is made under the terms of the [Monada Contribution License](https://docs.winglang.io/terms-and-policies/contribution-license.html)*.
Congrats! 🚀 This was released in Wing 0.4.76. |
Fixes #244 Co-authored-by: Cristian Pallarés <[email protected]>
PR builds should:
"Releasable" builds should:
The text was updated successfully, but these errors were encountered: