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
| `repository` | The full name of the repository to send the dispatch events. | Current repository |
63
-
| `event-type-suffix` | The repository dispatch event type suffix for the commands. | `-command` |
64
-
| `config` | JSON configuration for commands. | |
65
-
| `config-from-file` | JSON configuration from a file for commands. | |
66
-
67
-
### Handling dispatched commands
68
-
69
-
Repository dispatch events have a `type` to distinguish between events. The `type` set by the action is a combination of the slash command and `event-type-suffix`. The `event-type-suffix` input defaults to `-command`.
70
-
71
-
For example, if your slash command is `integration-test`, the event type will be `integration-test-command`.
| `commands` | `command` | (**required**) A comma separated list of commands to dispatch. | |
59
+
| `permission` | `permission` | The repository permission level required by the user to dispatch commands. (`none`, `read`, `write`, `admin`) | `write` |
60
+
| `issue-type` | `issue_type` | The issue type required for commands. (`issue`, `pull-request`, `both`) | `both` |
Repository dispatch events have a `type` to distinguish between events. The `type` set by the action is a combination of the slash command and `event-type-suffix`. The `event-type-suffix` input defaults to `-command`.
152
+
153
+
For example, if your slash command is `integration-test`, the event type will be `integration-test-command`.
0 commit comments