From 749f55283b388a4092cee7d24e42100e93400edb Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 22 May 2023 11:04:03 +0200 Subject: [PATCH] Try to dispatch workflow run in other repo --- .github/workflows/Tasmota_build_devel.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/Tasmota_build_devel.yml b/.github/workflows/Tasmota_build_devel.yml index baea23718..12f5eb08e 100644 --- a/.github/workflows/Tasmota_build_devel.yml +++ b/.github/workflows/Tasmota_build_devel.yml @@ -324,3 +324,9 @@ jobs: destination_branch: 'action-development' user_email: 'github-actions@github.com' user_name: 'github-actions' + - name: Dispatch worflow in Jason2866/Tasmota-firmware + run: | + curl -X POST https://api.github.com/repos/Jason2866/Tasmota-firmware/dispatches \ + -H 'Accept: application/vnd.github.everest-preview+json' \ + -u ${{ secrets.API_TOKEN_GITHUB }} \ + --data '{"event_type": "Trigger Workflow", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'