diff --git a/.github/workflows/dispatch-push-event.yaml b/.github/workflows/dispatch-push-event.yaml new file mode 100644 index 0000000000000..9cac53e39c612 --- /dev/null +++ b/.github/workflows/dispatch-push-event.yaml @@ -0,0 +1,22 @@ +name: dispatch-push-event +on: + push: + branches: + - beta/v0.3.** + +env: + DISPATCH_REPO: pilot-auto.x1.eve + +jobs: + dispatch-push-event: + runs-on: ubuntu-latest + + steps: + - name: Workflow Dispatch with curl command + run: | + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: token " \ + https://api.github.com/repos/tier4/${{ env.DISPATCH_REPO }}/actions/workflows/update-beta-branch/dispatches \ + -d '{"ref":"main"}'