Submodule and dependabot Update #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # yamllint disable rule:truthy | |
| name: Submodule and dependabot Update | |
| on: | |
| release: | |
| types: | |
| - published | |
| jobs: | |
| trigger-submodule: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Trigger update | |
| env: | |
| RELEASE_TAG: "${{ github.event.release.tag_name }}" | |
| run: | | |
| echo "${{ github.event.release.tag_name }}" | |
| curl -X POST \ | |
| -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | |
| -H "Accept: application/vnd.github.v3+json" \ | |
| https://api.github.com/repos/opsmill/infrahub-demo-dc-fabric-develop/dispatches \ | |
| -d "{\"event_type\":\"trigger-dependabot-update\", \"client_payload\": {\"version\": \"${{ github.event.release.tag_name }}\"}}" |