Skip to content

Commit 9d4aa7d

Browse files
authored
Update dispatch-listener.yml
1 parent 47669ec commit 9d4aa7d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/dispatch-listener.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ jobs:
1919
- name: Dispatch workflow
2020
uses: peter-evans/slash-command-dispatch@v4
2121
with:
22-
token: ${{ secrets.PAT }} # must be a repo-scoped PAT
23-
reaction-token: ${{ secrets.PAT }} # optional, for reactions by user
22+
token: ${{ secrets.PAT }}
23+
reaction-token: ${{ secrets.PAT }}
2424
commands: |
25-
run-tests
26-
dispatch-type: workflow
27-
workflow: workflow.yml
28-
inputs: |
29-
pr_number: ${{ github.event.issue.number }}
25+
run-tests:
26+
permission: write
27+
dispatch-type: workflow
28+
repository: neurostuff/neurostore
29+
workflow: workflow.yml
30+
inputs:
31+
pr_number: ${{ github.event.issue.number }}

0 commit comments

Comments
 (0)