-
Notifications
You must be signed in to change notification settings - Fork 18
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
Pull requests do not run tests automatically #351
Comments
Let's call it a loose definition of 'automatically'. External PRs have an approval gate but it's still part of the PR process that github does automatically. |
I can't understate the usefulness of CI's fast feedback in:
Can you at least add to the docs instructions how to enable the test workflows to run in a fork? And maybe modify the manual approval so it's needed only once per PR and not on every commit? |
The every commit for external contributors is a security measure we can't really budge on. If you want to add language that assures folks we are more than happy to re-run those tests every time, feel free. We love external PRs on an order of magnitude beyond any other kind of contribution. It's really no problem to click that button again when you make changes. As far as the test workflows in a fork, I think as long as tests are passing locally you should be good, and we historically have helped folks work through errors that happen in CI but not locally. I know this is less than ideal but as it currently is it's light years better than it was in the recent past (no consolidated CI or release process). |
And on a personal note I want to reassure you your recent activity on a LOT of different repos here has been greatly appreciated. Commit all you want, update your PRs as often as you want, they are very welcome and greatly noticed. |
Thanks for the response (and especially the words of encouragement!). The bit I don't understand is this:
Certainly there are some huge possible risk vectors. But the "Approving workflow runs from public forks" page makes it sound like it's just nuisance mitigation. Is there somewhere to learn more? |
Contrary to the documentation, pull requests require approval to run.
https://github.com/npm/template-oss/blame/d67bd699b759c766ddf5fd5aecd5c024f38dcfad/CONTRIBUTING.md#L32
The text was updated successfully, but these errors were encountered: