From a00d96e2274cfd0060138871b717a8d2f58840b9 Mon Sep 17 00:00:00 2001 From: qwqcode Date: Fri, 10 Mar 2023 22:01:10 +0800 Subject: [PATCH] chore(ci): add manually repo dispatch Signed-off-by: qwqcode --- .github/workflows/repo-dispatch.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/repo-dispatch.yml diff --git a/.github/workflows/repo-dispatch.yml b/.github/workflows/repo-dispatch.yml new file mode 100644 index 000000000..432b63c83 --- /dev/null +++ b/.github/workflows/repo-dispatch.yml @@ -0,0 +1,20 @@ +name: Repo Dispatch +run-name: Dispatch event `${{ inputs.event_type }}` manually by @${{ github.actor }} + +on: + workflow_dispatch: + inputs: + event_type: + type: string + description: Event Type + required: true + default: '' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v2 + with: + event-type: ${{ inputs.event_type }}