Skip to content

Commit 6dee03d

Browse files
committed
Add workflow to trigger ReproDB pipeline on results/organizer changes
1 parent eee2865 commit 6dee03d

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Notify ReproDB Pipeline
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- '_conferences/**/results.md'
8+
- '_conferences/**/organizers.md'
9+
10+
jobs:
11+
notify:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Trigger ReproDB pipeline update
15+
run: |
16+
curl -X POST \
17+
-H "Accept: application/vnd.github+json" \
18+
-H "Authorization: Bearer ${{ secrets.REPRODB_DISPATCH_TOKEN }}" \
19+
https://api.github.com/repos/ReproDB/reprodb-pipeline/dispatches \
20+
-d '{"event_type":"source-data-updated","client_payload":{"source":"secartifacts","ref":"${{ github.sha }}"}}'

0 commit comments

Comments
 (0)