{"repo":"peter-evans/slash-command-dispatch","free":true,"listed":false,"github":"https://github.com/peter-evans/slash-command-dispatch","clone":"git clone https://github.com/peter-evans/slash-command-dispatch.git","description":"A GitHub action that facilitates \"ChatOps\" by creating repository dispatch events for slash commands","language":"TypeScript","stars":704,"topics":["github-action","chatops","slash-commands","repository-dispatch","workflow-queue","automation"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Slash Command Dispatch A GitHub action that facilitates \"ChatOps\" by creating dispatch events for slash commands. How does it work? The action runs in issue comment event workflows and checks the first line of comments for slash commands. 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. It also supports creating workflow dispatch events with defined input parameters. Why create dispatch events? \"ChatOps\" with slash commands can work in a basic way by parsing the commands during issue comment events and immediately processing the command. In repositories with a lot of activity, the workflow queue will get backed up very quickly trying to handle new issue comment events and process the commands themselves. Dispatching commands to be processed elsewhere keeps the workflow queue moving quickly. It essentially enables parallel processing of workflows. An additional benefit of dispatching is that it allows non-sensitive workloads to be run in public repositories to save using private repository GitHub Action minutes. Demos See it in action with the following live demos. - ChatOps Demo in Issues - ChatOps Demo in Pull Requests - Slash command code formatting - Python Documentation - Getting started - Examples - Standard configuration - Advanced configuration - Workflow dispatch - Updating to v4 Dispatching commands Standard configuration The following workflow should be configured in ","default_branch":null,"files":null,"tree":[],"storefront":"/r/peter-evans","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/peter-evans/slash-command-dispatch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}