Skip to content

Commit cdca0b4

Browse files
testing commons workflow trigger
1 parent 691d1df commit cdca0b4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-package-python.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Build and Package the Python Commons Base package to Dev Registry
2+
23
on:
34
push:
45
branches: [ main ]
6+
workflow_dispatch:
7+
58
env:
69
DEV_REGISTRY: ghcr.io/noaa-gsl/idss/commons/python
710
jobs:
@@ -92,3 +95,11 @@ jobs:
9295
- name: Push Image to Dev Registry
9396
run: |
9497
docker push ${{env.DEV_REGISTRY}}/${{env.APP_LOWERCASE}}:${{env.BRANCH}}
98+
99+
- name: Trigger Dependent Repository Workflows
100+
run: |
101+
curl -X POST -H "Accept: application/vnd.github+json" \
102+
-H "Authorization: Bearer ${{ secrets.REPO_PAT }}" \
103+
-H "Content-Type: application/json" \
104+
--data '{"event_type": "commons-updated"}' \
105+
https://api.github.com/repos/NOAA-GSL/event-portfolio-manager/dispatches

0 commit comments

Comments
 (0)