From cc28950b98077f1df64c41070d884afca3454c7c Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 4 Feb 2024 18:59:02 +0000 Subject: [PATCH] Update to 5 in STEP and README.md --- .github/steps/-step.txt | 2 +- README.md | 23 ++++++++--------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/steps/-step.txt b/.github/steps/-step.txt index b8626c4..7ed6ff8 100644 --- a/.github/steps/-step.txt +++ b/.github/steps/-step.txt @@ -1 +1 @@ -4 +5 diff --git a/README.md b/README.md index 72fa969..c404a6d 100644 --- a/README.md +++ b/README.md @@ -14,29 +14,22 @@ _Collaborate and work together on GitHub._ -## 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.
- ![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.