Skip to content

Commit 4efc6d5

Browse files
revert: "chore: Update release.yml to release downstream repositories (#3484)" (#3544)
1 parent b619c48 commit 4efc6d5

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,4 @@ jobs:
2929
with:
3030
skip-test: true
3131
role-to-assume: ${{ inputs.role-to-assume }}
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-
32+
project-name: ${{ inputs.project-name }}

0 commit comments

Comments
 (0)