Skip to content

Commit d00d567

Browse files
authored
Create trigger_acme_tests.yml
1 parent 8d978de commit d00d567

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+
name: Trigger Acme Demo Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- 3.3.x
7+
8+
jobs:
9+
dispatch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Send repository_dispatch to phpbb-ext-acme-demo
13+
run: |
14+
curl -X POST https://api.github.com/repos/iMattPro/phpbb-ext-acme-demo/dispatches \
15+
-H "Accept: application/vnd.github+json" \
16+
-H "Authorization: token ${{ secrets.ACME_DEMO_PAT }}" \
17+
-H "Content-Type: application/json" \
18+
-d '{"event_type":"external-push"}'
19+
env:
20+
# This must exist in Repo A
21+
ACME_DEMO_PAT: ${{ secrets.ACME_DEMO_PAT }}

0 commit comments

Comments
 (0)