Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable CI on Pull Requests #77

Merged
merged 1 commit into from
Jan 31, 2020
Merged

Enable CI on Pull Requests #77

merged 1 commit into from
Jan 31, 2020

Conversation

hamelsmu
Copy link
Contributor

@sgugger this will help solve the problem to catch things like what happened in #73

You will also have to turn on branch protection. In settings, create a branch protection rule for the master branch and check Require Status Checks To Pass Before Merging

image

@hamelsmu hamelsmu requested a review from sgugger January 31, 2020 17:57
@hamelsmu hamelsmu mentioned this pull request Jan 31, 2020
@hamelsmu hamelsmu changed the title Update main.yml Enable CI on Pull Requests Jan 31, 2020
@sgugger
Copy link

sgugger commented Jan 31, 2020

Perfect! I don't want to necessarily protect the branch (as I sometimes want to merge things that fail and fix them myself) but this is great. Could you update the template as well? I'm going to push this to our other nbdev-generated repos.

@sgugger sgugger merged commit c44318f into AnswerDotAI:master Jan 31, 2020
@hamelsmu
Copy link
Contributor Author

Sorry What do you mean by update the template? fast_template?

@sgugger
Copy link

sgugger commented Jan 31, 2020

nbdev_template (thanks again for all those PRs :) )

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants