-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
73 lines (69 loc) · 1.95 KB
/
Copy pathaction.yml
File metadata and controls
73 lines (69 loc) · 1.95 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Rootly Alert Action
description: Create an alert using the Rootly REST API.
author: PandasWhoCode
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: bell
color: 'blue'
# Define your inputs here.
inputs:
api_key:
description: The API key to use for authentication.
required: true
summary:
description: The summary of the alert.
required: true
details:
description: The details of the alert.
required: true
set_as_noise:
description:
A boolean to determine if the alert is noise (default is false).
required: false
default: 'false'
notification_target_type:
description:
The type of notification target for the alert (User, Service,
EscalationPolicy, or Group).
required: true
notification_target:
description:
The name of the service, escalation policy, group, or user email for the
alert to target.
required: true
alert_urgency:
description: The urgency of the alert (default is 'High').
required: false
default: 'High'
external_id:
description: An external ID for the alert.
required: false
external_url:
description: An external URL for the alert.
required: false
services:
description:
A comma-separated list of service names to create the alert for.
required: false
alert_groups:
description:
A comma-separated list of alert_group names to create the alert for.
required: false
labels:
description:
A comma-separated list of key:value pairs to create the alert for.
required: false
environments:
description:
A comma-separated list of environment names to create the alert for.
required: false
deduplication_key:
description: A deduplication key for the alert.
required: false
# Define your outputs here.
outputs:
alert_id:
description: The ID of the created alert for API usage.
runs:
using: node24
main: dist/index.js