Skip to content
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

Add Flow reminder to PR template #8805

Merged
merged 3 commits into from Jan 17, 2017

Conversation

jackjocross
Copy link
Contributor

Since CircleCI fails on Flow errors, I think it would be helpful to add a reminder to npm run flow before submitting a PR.

Formatting was inspired by the Draft.js PR template.

@gaearon
Copy link
Collaborator

gaearon commented Jan 16, 2017

We also need to add this step:

  • If you added or removed any tests, run ./scripts/fiber/record-tests before submitting the pull request, and commit the resulting changes.

Could you add this too, and do it both in PR template and here?

5. Make sure your code lints (`npm run lint`).
6. Run the [Flow](https://flowtype.org/) typechecks (`npm run flow`).
7. If you haven't already, complete the CLA.
3. If you added or removed any tests, run ./scripts/fiber/record-tests before submitting the pull request, and commit the resulting changes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please enclose the command in backticks.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, this step should probably come the last before CLA. It should be done after everything else is ready.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes more sense, I've made the changes!

@gaearon
Copy link
Collaborator

gaearon commented Jan 17, 2017

Thanks!

aweary pushed a commit that referenced this pull request Jan 18, 2017
* Added flow to PR template

* Added record-tests step to PR template and contribution docs

* Updated order of PR checks

(cherry picked from commit bfd5b18)
@jackjocross jackjocross deleted the flow-in-pr-template branch January 23, 2017 18:09
@jackjocross jackjocross restored the flow-in-pr-template branch January 23, 2017 18:18
@jackjocross jackjocross deleted the flow-in-pr-template branch January 23, 2017 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants