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
A GitHub action that facilitates "ChatOps" by creating repository dispatch events for slash commands.
4
+
A GitHub action that facilitates ["ChatOps"](https://www.pagerduty.com/blog/what-is-chatops/) by creating repository dispatch events for slash commands.
5
5
6
6
### How does it work?
7
7
8
-
The action runs in `on: issue_comment` workflows and checks comments for slash commands.
8
+
The action runs in `issue_comment` event workflows and checks comments for slash commands.
9
9
When a valid command is found it creates a repository dispatch event that includes a payload containing full details of the command and its context.
10
10
11
11
### Why repository dispatch?
@@ -15,14 +15,14 @@ In repositories with a lot of activity, the workflow queue will get backed up ve
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.
17
17
18
-
### Advantages of slash-command-dispatch
18
+
### Key features
19
19
20
20
- Easy configuration of "ChatOps" slash commands
21
-
-Separating the queue of `issue_comment` events from the queue of commands to process keeps it fast moving
21
+
-Enables separating the queue of `issue_comment` events from the queue of commands to process to keep it fast moving
22
22
- Users receive faster feedback that commands have been seen and are waiting to be processed
23
-
- The ability to handle processing workloads in multiple repositories in parallel
23
+
- The ability to handle processing commands in multiple repositories in parallel
24
24
- Long running workloads can be processed in a repository workflow queue of their own
25
-
- Even if commands are processed in the same repository, separation of comment parsing and command processing logic allows easier management of "ChatOps" use cases
25
+
- Even if commands are dispatched and processed in the same repository, separation of comment parsing and command processing makes workflows more maintainable, and with less duplication
0 commit comments