Skip to content

Different approach to fixing video aspect ratio #85

Different approach to fixing video aspect ratio

Different approach to fixing video aspect ratio #85

name: Notify parent repository
on:
push:
branches:
- main
workflow_dispatch:
jobs:
notify:
name: Notify parent repository
runs-on: ubuntu-latest
steps:
- name: Github REST API Call
env:
UPDATE_SUBMODULES_ACTION_TOKEN: ${{ secrets.UPDATE_SUBMODULES_ACTION_TOKEN }}
PARENT_REPO: ${{ secrets.PARENT_REPO }}
PARENT_BRANCH: main
WORKFLOW_ID: ${{ secrets.PARENT_WORKFLOW_ID }}
run: |
curl -fL --retry 3 -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ env.UPDATE_SUBMODULES_ACTION_TOKEN }}" https://api.github.com/repos/${{ env.PARENT_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches -d '{"ref":"${{ env.PARENT_BRANCH }}"}'