-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
43 lines (34 loc) · 1.13 KB
/
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
34
35
36
37
38
39
40
41
42
43
name: Action Repository Dispatch
author: 'Tony DBR'
description: Send repository_dispatch events with custom payloads
branding:
color: green
icon: send
inputs:
targetRepository:
description: Full name (owner/repo-name) of the repository that will receive the repository_dispatch event
required: false
default: ${{ github.repository }}
eventType:
description: Custom event type expected by the receiving repository
required: true
token:
description: A GitHub Personal Access Token (PAT) with 'repo' permissions
required: true
payloadType:
description: "Type of payload provided. Types: string, path, url"
required: false
default: 'string'
payload:
description: Stringified JSON payload. Required when payloadType is not provided or provided as "string"
required: false
default: '{}'
payloadPath:
description: Path to file with JSON payload. Required when payloadType is provided as "path"
required: false
payloadUrl:
description: URL to JSON payload. Required when payloadType is provided as "url"
required: false
runs:
using: 'node20'
main: 'dist/index.js'