Skip to content

Simplify condalock workflow to work without chatops #1330

Simplify condalock workflow to work without chatops

Simplify condalock workflow to work without chatops #1330

# https://github.com/peter-evans/slash-command-dispatch
name: ChatOps Dispatcher
on:
issue_comment:
types: [created]
jobs:
slashCommandDispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
with:
token: ${{ secrets.PANGEOBOT_TOKEN }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
config: >
[
{
"command": "condalock",
"permission": "none",
"issue_type": "pull-request"
}
]