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 check for code of conduct file #43

Merged
merged 1 commit into from
Mar 27, 2016

Conversation

lornajane
Copy link
Contributor

Uses the contributor covenant format of CODE_OF_CONDUCT(.md) to check if a CoC is present in the project.

Fixes #15

Uses the contributor covenant format of CODE_OF_CONDUCT(.md) to check if
a CoC is present in the project
@pengwynn pengwynn merged commit db5e142 into pengwynn:master Mar 27, 2016
@pengwynn
Copy link
Owner

Thanks for the patch!

var CodeOfConductTests = []scenarios{
{"", false},
{"CODE_OF_CONDUCT", true},
{"CODE_OF_CONDUCT.md", true},
Copy link

Choose a reason for hiding this comment

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

It should also allow "CODE_OF_CONDUCT.rst" - GitHub supports both! :-)

Copy link
Owner

Choose a reason for hiding this comment

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

@derickr Looks like the code indeed supports that. Feel free to send over a patch to make the tests more invention revealing.

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

Successfully merging this pull request may close these issues.

3 participants