-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (30 loc) · 1.32 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
name: Optimizely Flags Notifier
description: Recieve a slack notification with a list of flags that haven't been updated in a while.
author: Hitarth Desai <[email protected]>
branding:
icon: 'flag'
color: 'gray-dark'
inputs:
optimizely_project_id:
description: The Optimizely project ID for which the action should generate the report.
required: true
optimizely_auth_token:
description: The Optimizely API token for authentication. It is used to fetch the flags and their last updated time.
required: true
slack_channel_id:
description: The Slack channel ID to which the action will send a message with the report.
required: true
slack_app_bot_token:
description: The Slack app bot token for authentication. It is used to fetch the user name and profile picture of the bot.
required: true
permanent_flag_variable_name:
description: The name of the Optimizely variable you use to mark a flag as permanent. The action will ignore this flag while generating the report.
required: false
default: "is_permanent"
flag_end_date_variable_name:
description: The name of the Optimizely variable you use to denote a flag's ending date. The action will ignore this flag while generating the report.
required: false
default: "end_date"
runs:
using: node16
main: dist/index.js