Skip to content

New repo: The Silver Bayonet (Osprey) #323

New repo: The Silver Bayonet (Osprey)

New repo: The Silver Bayonet (Osprey) #323

Workflow file for this run

name: ChatOps
on:
issue_comment:
types: [created]
jobs:
dispatch:
runs-on: ubuntu-latest
if: startsWith(github.event.comment.body, '/')
steps:
- name: /command dispatch
uses: peter-evans/slash-command-dispatch@v2
with:
token: ${{ secrets.SLASH_COMMAND_DISPATCH_TOKEN }}
config: >
[
{
"command": "approve",
"permission": "admin"
},
{
"command": "preview",
"permission": "read"
}
]