Update to 5 in STEP and README.md

This commit is contained in:
github-actions
2023-06-05 21:23:28 +00:00
parent ede27a2aef
commit 66a0929d1e
2 changed files with 9 additions and 16 deletions

View File

@@ -1 +1 @@
4
5

View File

@@ -14,29 +14,22 @@ _Collaborate and work together on GitHub._
</header>
<!--
<<< Author notes: Step 4 >>>
<<< Author notes: Step 5 >>>
Start this step by acknowledging the previous step.
Define terms and link to docs.github.com.
-->
## Step 4: Suggest changes
## Step 5: Apply suggested changes
_Nice work reviewing that pull request :sparkles:_
_Nicely done suggesting changes! :partying_face:_
Now that you have explored the different ways you can review a pull request it is time to learn how to use _suggest changes_.
Now let's see how easy it is to [apply your suggestion](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request).
**What is _suggest changes_?**: This feature enables you to recommend a change to a pull request that the author can commit with the push of a button.
### :keyboard: Activity: Apply suggested changes
### :keyboard: Activity: Suggest changes
1. On the pull request, click **Files changed**.
1. Find the `index.html` changes.
1. Hover your cursor next to the line numbers on the left side of the page.
1. Click the blue plus icon.
1. After the comment form appears, click the **Add a suggestion** button. <br>
![add-a-suggestion-button](https://user-images.githubusercontent.com/97056108/184449714-61e8ee51-824a-48c1-9436-2dfd67f2c070.png)
1. Edit the suggestion.
1. Click **Add a single comment**.
1. Click **Commit suggestion**.
1. Type a commit message.
1. Click **Commit changes**.
1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.
<footer>