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
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ When a valid command is found it creates a repository dispatch event that includ
11
11
### Why repository dispatch?
12
12
13
13
"ChatOps" with slash commands can work in a basic way by parsing the commands during `issue_comment` events and immediately processing the command.
14
-
In repositories with a lot of activity, the workflow queue will get backed up very quickly if it is trying to handle new comments for commands, **and** process the commands themselves.
14
+
In repositories with a lot of activity, the workflow queue will get backed up very quickly if it is trying to handle new comments for commands*and* process the commands themselves.
15
15
16
16
Dispatching commands to be processed elsewhere keeps the workflow queue moving quickly. It essentially allows you to run multiple workflow queues in parallel.
| `repository` | The full name of the repository to send the dispatch events. | Current repository |
@@ -93,10 +92,12 @@ This means that reactions to comments will appear to be made by the user account
93
92
94
93
### Advanced configuration
95
94
96
-
Using JSON configuration allows the options for each command to be customised.
95
+
Using JSON configuration allows the options for each command to be specified individually.
97
96
98
97
Note that it's recommended to write the JSON configuration directly in the workflow rather than use a file. Using the `config-from-file` input will be slightly slower due to requiring the repository to be checked out with `actions/checkout` so the file can be accessed.
99
98
99
+
Here is an example workflow. Take care to use the correct property names. The JSON property names differ from the action inputs by using underscores in place of hyphens.
0 commit comments