You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,23 @@ _Create and run a GitHub Actions workflow._
6
6
7
7
</header>
8
8
9
-
## Step 4: Merge your workflow file
9
+
## Step 5: Trigger the workflow
10
10
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:_
12
12
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.
14
14
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.
16
16
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
+

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.
21
26
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.
0 commit comments