evergreen-docs:github-workflow
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| evergreen-docs:github-workflow [2021/07/22 14:32] – adding some missing steps sandbergja | evergreen-docs:github-workflow [2024/07/10 08:03] (current) – Windows cmd doesn't let you separate commands with a semicolon sandbergja | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| When someone [[evergreen-docs: | When someone [[evergreen-docs: | ||
| - | | + | ===== Reviewing the pull request ===== |
| - | - If you haven' | + | |
| + | | ||
| + | - Open the pull request in the Github web interface. | ||
| + | - Open the Files Changed tab | ||
| + | - Make sure the asciidoc changes look good | ||
| + | - Open the Checks tab | ||
| + | - Expand the " | ||
| + | - Open the Artifacts menu and select built-docs | ||
| + | - Unzip the artifact and open it in your browser. | ||
| + | - Check to make sure that the expected changes look good in the built docs, and that there are no unexpected changes. | ||
| + | |||
| + | |||
| + | ===== Committing the changes ===== | ||
| + | |||
| + | If everything looks good: | ||
| + | |||
| + | - On the commits tab, note how many new commits are in the pull request -- you will need this information later. | ||
| + | - In your terminal, if you haven' | ||
| - '' | - '' | ||
| - | - Update your local master | + | - Update your local main branch to reflect any changes from " |
| - | - '' | + | - '' |
| - Fetch the pull request branch into a new local branch | - Fetch the pull request branch into a new local branch | ||
| - '' | - '' | ||
| - | - Cherry pick the relevant commits into your local copy of the master | + | - Cherry pick the relevant commits into your local copy of the main branch. |
| - If only one commit: '' | - If only one commit: '' | ||
| - | - If more than one: '' | + | - If more than one: '' |
| - | - Test build the changed AsciiDoc file + the nav.adoc file(s) that include it | + | - The '' |
| - | | + | - If you need to squash commits: |
| - | - Check to see if there are any images posted | + | - From your local branch, enter '' |
| - | - Also look for other AsciiDoc warnings or errors | + | - Your text editor will open and should show both of the commits, for example: |
| + | - '' | ||
| + | - '' | ||
| + | - Change the word '' | ||
| + | - Check gitlog to ensure that you now have a single commit | ||
| - Make any corrections (via additional commits, if needed) | - Make any corrections (via additional commits, if needed) | ||
| - Use '' | - Use '' | ||
| Line 23: | Line 44: | ||
| - Example: " | - Example: " | ||
| - (If the GitHub author does not match the author' | - (If the GitHub author does not match the author' | ||
| - | - When you are confident your local master | + | - When you are confident your local main branch is ready: '' |
| - Backport to previous EG versions as appropriate | - Backport to previous EG versions as appropriate | ||
| - '' | - '' | ||
| - '' | - '' | ||
| - | - If one commit: '' | + | - If one commit: '' |
| - | - If more than one: '' | + | - If more than one: '' |
| - '' | - '' | ||
| - Go back to the pull request on Github' | - Go back to the pull request on Github' | ||
evergreen-docs/github-workflow.1626978770.txt.gz · Last modified: 2022/02/10 13:34 (external edit)