-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
89 lines (87 loc) · 3.6 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: "GitHub Notifications Forwarder"
description: "Forwards filtered GitHub notifications to a configured connector"
inputs:
action-schedule:
description: 'The POSIX cron syntax that matches the on: schedule that this action is called in. e.g. "15 * * * *"'
required: true
github-token:
description: "PAT with access to relevant notifications"
required: true
webex-token:
description: "Webex bot or user token with access to destination. Include to send notifications to Webex"
required: false
webex-email:
description: "Email address of user to send notifications to. Include to send notifications to Webex"
required: false
slack-token:
description: "Slack bot token with access to destination. Include to send notifications to Slack"
required: false
slack-destination:
description: "The id of a Slack channel to post notifications to or the id of a user to direct message notifications to. Include to send notifications to Slack"
required: false
filter-include-reasons:
description: 'A comma separated string of notification "reason" types to include. Defaults to all reasons'
required: false
default: "assign, author, ci_activity, comment, manual, mention, push, review_requested, security_alert, state_change, subscribed, team_mention, your_activity"
filter-exclude-reasons:
description: 'A comma separated string of notification "reason" types to exclude. Defaults to no reasons'
required: false
default: ""
filter-include-repositories:
description: "A comma separated string of repositories to limit to in the form of: owner/repo. Defaults to all repositories"
required: false
default: ""
filter-exclude-repositories:
description: "A comma separated repos to exclude. Defaults to no excludes"
required: false
default: ""
filter-only-participating:
description: 'Set to "true" to only forward notifications in which the user is directly participating or mentioned in'
required: false
default: "false"
filter-only-unread:
description: 'Set to "false" to include notifications marked as "read"'
required: false
default: "true"
mark-as-read:
description: 'Set to "true" to mark forwarded notifications as "read"'
required: false
default: "true"
sort-oldest-first:
required: false
description: "Sort message(s) by oldest notifications first."
default: "true"
timezone:
description: "Timezone you're in. (Action runner timezone must be UTC)"
required: false
default: "UTC"
date-format:
description: "Customize dates in messages using dayjs Date format, https://day.js.org/docs/en/display/format"
required: false
default: "M/D h:mm A"
time-format:
description: "Customize times in messages using dayjs Date format, https://day.js.org/docs/en/display/format"
required: false
default: "h:mm A"
since-last-run:
description: "Set to false to fetch last 100 notifications instead of since the action ran."
required: false
default: "true"
paginate-all:
description: 'By default, action checks the last 100 notifications since the last action-schedule was run. Set to "true" to check all notifications'
required: false
default: "false"
rollup-notifications:
description: 'Set to "false" to send messages for each notification rather than a single rollup of all notifications into one message.'
required: false
default: "true"
debug-logging:
description: "Set to true to enable debug logging"
required: false
default: "false"
runs:
using: node16
main: dist/action/index.js
branding:
icon: "bell"
color: "white"