Skip to content

Commit a00d96e

Browse files
committed
chore(ci): add manually repo dispatch
Signed-off-by: qwqcode <[email protected]>
1 parent b3d2cc0 commit a00d96e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Repo Dispatch
2+
run-name: Dispatch event `${{ inputs.event_type }}` manually by @${{ github.actor }}
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
event_type:
8+
type: string
9+
description: Event Type
10+
required: true
11+
default: ''
12+
13+
jobs:
14+
release:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Repository Dispatch
18+
uses: peter-evans/repository-dispatch@v2
19+
with:
20+
event-type: ${{ inputs.event_type }}

0 commit comments

Comments
 (0)