Skip to content

[INTER-2896] Add totals information endpoint (#38) #46

[INTER-2896] Add totals information endpoint (#38)

[INTER-2896] Add totals information endpoint (#38) #46

Workflow file for this run

name: 'Submodule Notify Parent'
on:
push:
branches:
- main
workflow_dispatch:
jobs:
notify:
name: 'Submodule Notify Parent'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Github REST API Call
env:
CI_TOKEN: ${{ secrets.TOKEN_GITHUB }}
PARENT_REPO: bold-commerce/m1-devbox
PARENT_BRANCH: main
WORKFLOW_ID: 36051398
run: |
curl -fL --retry 3 -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ env.CI_TOKEN }}" https://api.github.com/repos/${{ env.PARENT_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches -d '{"ref":"${{ env.PARENT_BRANCH }}"}'