Skip to content

Merge pull request #55 from Elfsquad/EC-20740 #64

Merge pull request #55 from Elfsquad/EC-20740

Merge pull request #55 from Elfsquad/EC-20740 #64

name: 'Submodule Notify Parent'
on:
push:
branches:
- main
jobs:
notify:
name: 'Submodule Notify Parent'
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
steps:
- name: Update elfsquad/cpq
env:
PARENT_REPO: elfsquad/cpq
PARENT_BRANCH: main
WORKFLOW_ID: 54169472
run: |
curl -fL --retry 3 -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ secrets.TOKEN }}" https://api.github.com/repos/${{ env.PARENT_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches -d '{"ref":"${{ env.PARENT_BRANCH }}"}'