forked from hashicorp/terraform-random-tfe-utility
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 877 Bytes
/
dispatcher.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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@2afb49dbaafaba8005860648bf7fc178637aca0d
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