File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 11name : Trigger Private Repo
22on :
3- push :
43 pull_request :
54
65jobs :
@@ -27,20 +26,11 @@ jobs:
2726 -H "Accept: application/vnd.github+json" \
2827 -H "Authorization: Bearer ${{ secrets.PRIVATE_REPO_PAT }}" \
2928 -H "X-GitHub-Api-Version: 2022-11-28" \
30- https://api.github.com/repos/YOUR_ORG/PRIVATE_REPO /dispatches \
29+ https://api.github.com/repos/locusrobotics/locus_orbbec_ros2 /dispatches \
3130 -d '{
3231 "event_type":"trigger-from-public",
3332 "client_payload":{
34- "origin_repo":"${{ github.repository }}",
35- "origin_repo_url":"${{ github.repositoryUrl }}",
36- "ref":"${{ github.ref }}",
37- "ref_name":"${{ github.ref_name }}",
38- "ref_type":"${{ github.ref_type }}",
39- "semver":"${{ steps.semver.outputs.semver }}",
40- "is_semver":"${{ steps.semver.outputs.is_semver }}",
41- "sha":"${{ github.sha }}",
42- "event_name":"${{ github.event_name }}",
43- "actor":"${{ github.actor }}",
44- "pr_number":"${{ github.event.pull_request.number }}"
45- }
46- }'
33+ "param1":"value1",
34+ "param2":"value2"
35+ }
36+ }'
You can’t perform that action at this time.
0 commit comments