Skip to content

Commit cbf7027

Browse files
Update to 5 in STEP and README.md
1 parent 05a2824 commit cbf7027

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.github/steps/-step.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4
1+
5

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,23 @@ _Create and run a GitHub Actions workflow._
66

77
</header>
88

9-
## Step 4: Merge your workflow file
9+
## Step 5: Trigger the workflow
1010

11-
_You're now able to write and run an Actions workflow! :sparkles:_
11+
_You've now added a fully functioning workflow to your repository! :smile:_
1212

13-
Merge your changes so the action will be a part of the `main` branch.
13+
The shell script in the workflow will run whenever a new pull request is opened.
1414

15-
### :keyboard: Activity: Merge your workflow file
15+
**Seeing your _action_ in action**: The status of each workflow run that's triggered is shown in the pull request before it's merged: look for **All checks have passed** when you try out the steps below. You can also see a list of all the workflows that are running, or have finished running, in the **Actions** tab of your repository. From there, you can click on each workflow run to view more details and access log files.
1616

17-
1. In your repo, click on the **Pull requests** tab.
18-
1. Click on the pull request you created in step 1.
19-
1. Click **Merge pull request**, then click **Confirm merge**.
20-
1. Optionally, click **Delete branch** to delete your `welcome-workflow` branch.
17+
![A screenshot of the Actions tab showing a list of workflow runs.](https://user-images.githubusercontent.com/16547949/62388049-4e64e600-b52a-11e9-8bf5-db0c5452360f.png)
18+
19+
### :keyboard: Activity: Trigger the workflow
20+
21+
1. Make a new branch named `test-workflow`.
22+
1. Make a change, such as adding an emoji to your README.md file, and commit the change directly to your new branch.
23+
1. In the **Pull requests** tab, create a pull request that will merge `test-workflow` into `main`.
24+
1. Watch the workflow running in the checks section of the pull request.
25+
1. Notice the comment that the workflow adds to the pull request.
2126
1. Wait about 20 seconds, then refresh this page (the one you're following instructions from). Another workflow will run and will replace the contents of this README file with instructions for the next step.
2227

2328
<footer>

0 commit comments

Comments
 (0)