File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 29
29
with :
30
30
skip-test : true
31
31
role-to-assume : ${{ inputs.role-to-assume }}
32
- project-name : ${{ inputs.project-name }}
32
+ project-name : ${{ inputs.project-name }}
33
+
34
+ trigger-downstream :
35
+ needs : [release]
36
+ runs-on : ubuntu-latest
37
+ if : github.ref == 'refs/heads/main'
38
+ strategy :
39
+ matrix :
40
+ repository : [chat-components]
41
+ steps :
42
+ - name : Trigger release in downstream repository
43
+ run : |
44
+ curl -L \
45
+ -X POST \
46
+ -H "Accept: application/vnd.github+json" \
47
+ -H "Authorization: Bearer ${{ secrets.WORKFLOW_DISPATCH_TOKEN }}" \
48
+ -H "X-GitHub-Api-Version: 2022-11-28" \
49
+ https://api.github.com/repos/cloudscape-design/${{ matrix.repository }}/dispatches \
50
+ -d "{\"event_type\": \"run-release\"}"
51
+
You can’t perform that action at this time.
0 commit comments