-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (33 loc) · 822 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: "Workflow Dispatch by Slack"
description: "Trigger workflow_dispatch event using Slack"
branding:
icon: "send"
color: "green"
inputs:
repository:
description: "Target repository"
default: ${{ github.repository }}
workflow:
description: "Workflow ID or filename"
required: true
ref:
description: "Workflow ref"
inputs:
description: "Workflow inputs"
github-token:
description: "GitHub token"
default-github-token:
description: "Default GitHub token"
default: ${{ github.token }}
channel:
description: "Slack Channel ID or name"
required: true
slack-bot-token:
description: "Slack bot token"
slack-webhook-url:
description: "Slack webhook URL"
mention:
description: "Slack user to mention"
runs:
using: "node20"
main: "dist/index.js"