test #554
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Dispatcher | |
on: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
slash_command_dispatch: | |
name: Slash Command Dispatcher | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@a28ee6cd74d5200f99e247ebc7b365c03ae0ef3c # v3.0.1 | |
with: | |
# The `public_repo` scope is required by this token to create repository_dispatch and workflow_dispatch | |
# events on public repositories. The default GITHUB_TOKEN does not support the `public_repo` scope. | |
token: ${{ secrets.GH_DISPATCH_TOKEN }} | |
reaction-token: ${{ secrets.GITHUB_TOKEN }} | |
commands: | | |
test | |
destroy | |
help | |
permission: maintain | |
issue-type: pull-request | |
event-type-suffix: -command | |