-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: get contribute section from README #22
Conversation
0fe85b7
to
b76d7bb
Compare
b76d7bb
to
04eb9c6
Compare
@RichardLitt So you’re saying that, if there’s no ...and the same for Is there an example of a thing I could use as inspiration, that adds a file if it isn’t already there? |
Yep! That's exactly what I am saying. We can probably grab the SPDX and fill in the license, too. Build a space does this already, adding a file if it isn't there. Look for community checkers - the code should be relatively straightforward to read. |
I don’t have access to that, so I couldn’t try it out, but GH-57 should do the trick! |
What don't you have access to? |
Oh sorry this comment went to the wrong issue/pr, it was about the one you mentioned with a Contribute section but no CONTRIBUTE.md file. Never mind! |
This is superseded by #57. Closing. |
Should the branch be deleted? |
This should grab the Contribute heading and section from the README, if it exists, and use it instead of the fixtures Contribute.
We want to do the same with the license, later - if there is no license file, but there's a section in the README, add the license. Likewise for vice versa.
Related to #12.