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
{{ message }}
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: responses/11_edit-workflow.md
+19-25Lines changed: 19 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -10,37 +10,31 @@ We will use the `pull_request` event and specify the activity type to be when an
10
10
11
11
Let's change the tigger and add the joke action
12
12
13
-
1.[Edit]({{workflowFile}}) your current workflow file
14
-
2. Uncomment the contents of the file
15
-
3. Change the `on:` property to reflect the `pull_request labeled`[event](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#webhook-events)
16
-
4. Add a new `step:` that has a `name:` of **ha-ha** and`uses:` your new `joke-action`
17
-
5. Commit the changes to the `action-two` branch
13
+
1.[Edit]({{workflowFile}}) your current workflow file to contain the following:
14
+
```yaml
15
+
name: JS Actions
18
16
19
-
I'll respond once you commit your changes
20
-
21
-
---
17
+
on:
18
+
pull_request:
19
+
types: [labeled]
22
20
23
-
<details><summary>The complete workflow can be viewed by clicking here</summary>
0 commit comments