generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
56 lines (53 loc) · 1.74 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
44
45
46
47
48
49
50
51
52
53
54
55
56
name: 'PagerDuty Send Event/Alert'
description:
'Send an event to PagerDuty to trigger, acknowledge, or resolve incidents.'
author: 'acyphus'
# Define your inputs here.
inputs:
integration-key:
description: 'The PagerDuty Integration Key.'
required: true
dedup-key:
description:
'Identifies the alert to trigger, acknowledge, or resolve. Required unless
the event_type is trigger.'
required: false
event-action:
description: 'The type of event. Can be trigger, acknowledge or resolve.'
required: true
default: 'trigger'
summary:
description:
'A brief text summary of the event, used to generate the summaries/titles
of any associated alerts.'
required: true
default: 'Alert from ${{github.repository}} by ${{github.actor}}'
source:
description: 'The unique location of the affected system.'
required: false
default: 'GitHub Actions in ${{github.repository}}'
severity:
description:
'The perceived severity of the status the event is describing with respect
to the affected system.. Can be info, warning, error, or critical.'
required: true
default: 'critical'
client:
description:
'The name of the monitoring client that is triggering this event. (This
field is only used for trigger events.)'
required: false
default: '${{github.repository}}'
client-url:
description:
'The URL of the monitoring client that is triggering this event. (This
field is only used for trigger events.)'
required: false
default: 'https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}'
# Define your outputs here.
outputs:
time:
description: 'Timestamp of the event.'
runs:
using: node20
main: dist/index.js