Skip to content

Commit a9129d5

Browse files
committed
Add dispatch job
1 parent dd7b9e9 commit a9129d5

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Dispatch of jobs triggered by slash commands
2+
name: Slash command dispatch
3+
4+
on:
5+
issue_comment:
6+
types: [created]
7+
8+
jobs:
9+
slashCommandDispatch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Dispatch
13+
uses: peter-evans/slash-command-dispatch@v2
14+
with:
15+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
16+
issue-type: pull-request
17+
event-type-suffix: -command
18+
dispatch-type: workflow
19+
commands: |
20+
update-cmor-cvs-table
21+
update-stac-json

0 commit comments

Comments
 (0)