Skip to content

Commit d2c3c32

Browse files
authored
Create trigger-test.yml
1 parent 25868fc commit d2c3c32

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/trigger-test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Trigger Private Repo
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
trigger:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Trigger private repo workflow
11+
run: |
12+
curl -L \
13+
-X POST \
14+
-H "Accept: application/vnd.github+json" \
15+
-H "Authorization: Bearer ${{ secrets.PRIVATE_REPO_PAT }}" \
16+
-H "X-GitHub-Api-Version: 2022-11-28" \
17+
https://api.github.com/repos/locusrobotics/locus_orbbec_ros2/dispatches \
18+
-d '{"event_type":"trigger-from-public","client_payload":{"param1":"value1","param2":"value2"}}'

0 commit comments

Comments
 (0)