File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Submodule and dependabot Update
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ trigger-submodule :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v4
14+
15+ - name : Trigger update in Demo Repository
16+ env :
17+ OTTO_TOKEN : ${{ secrets.GH_UPDATE_PACKAGE_OTTO }}
18+ RELEASE_TAG : " ${{ github.event.release.tag_name }}"
19+ run : |
20+ echo "${{ github.event.release.tag_name }}"
21+ curl -X POST \
22+ -H "Authorization: token ${{ secrets.GH_UPDATE_PACKAGE_OTTO }}" \
23+ -H "Accept: application/vnd.github.v3+json" \
24+ https://api.github.com/repos/opsmill/infrahub-demo-dc-fabric-develop/dispatches \
25+ -d "{\"event_type\":\"trigger-dependabot-update\", \"client_payload\": {\"version\": \"${{ github.event.release.tag_name }}\"}}"
You can’t perform that action at this time.
0 commit comments