24pullrequests/contribulator

Contribulator's "Contributing present"

Closed this issue · 2 comments

https://contribulator.24pullrequests.com/python-pillow/Pillow says "Contributing present: false" when it does have a CONTRIBUTING.md, it's in the .github directory, not the root.

https://github.com/python-pillow/Pillow/blob/master/.github/CONTRIBUTING.md

https://help.github.com/articles/setting-guidelines-for-repository-contributors/ says:

To help your project contributors do good work, you can add a file with contribution guidelines to your project repository's root, docs, or .github folder.

Ah yeah that's a bug then, good spot!

This also affects the code of conduct, which can be in the same places:

Add the CODE_OF_CONDUCT.md file to the root, docs/, or .github/ folder.

https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/


def contributing_present?
file_exists?('contributing')
end
def license_present?
file_exists?('license')
end
def code_of_conduct_present?
file_exists?('conduct')
end