summaryrefslogtreecommitdiff
path: root/.github/workflows/slash-command-dispatch.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/slash-command-dispatch.yml')
-rw-r--r--.github/workflows/slash-command-dispatch.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/slash-command-dispatch.yml b/.github/workflows/slash-command-dispatch.yml
index c4c9a7ae7..2e72c3bf4 100644
--- a/.github/workflows/slash-command-dispatch.yml
+++ b/.github/workflows/slash-command-dispatch.yml
@@ -12,14 +12,9 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
reaction-token: ${{ secrets.SLANGBOT_PAT }}
- config: >
- [
- {
- "command": "format",
- "permission": "none",
- "issue_type": "pull-request"
- }
- ]
+ issue-type: pull-request
+ commands: |
+ format
- name: Edit comment with error message
if: steps.scd.outputs.error-message