Open the pull request
Lesson 3 of 3 in Ship a first pull request. About 5 minutes.
In this lesson you offer your change to the project.
Steps
-
Push and open the pull request.
Terminal window git push -u origin fix/short-namegh pr create --fillFill in the template. In the description write
Fixes #<issue number>. Fill theDocs:line withupdatedornot affected.You should see: a link to your new pull request.
-
Name the area. Every pull request belongs to one area:
reading,library,highlights,vocabulary,assistant,account,data,opsordocumentation. The glossary says what each area holds. Only maintainers can set the label, so write the area in the description. Thearea-labelcheck stays red until a maintainer adds it.
If something goes wrong
- The
area-labelcheck is red. Do nothing. A maintainer adds the label. - The
docs-linkscheck is red. A link in a.mdfile points at a file that does not exist. Runnode scripts/check-doc-links.mjs. It prints the file and the line. - A check fails on something you did not touch. Say so in the pull request. A maintainer runs the check again.
Check yourself
- My pull request is open.
- Every check except
area-labelis green. - The description links the issue and names the area.
Next
Before a larger change, see how TextStack works.