-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
64 lines (60 loc) · 2.33 KB
/
action.yml
File metadata and controls
64 lines (60 loc) · 2.33 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
name: 'LaunchDarkly Flags'
description: 'Evaluate LaunchDarkly flags in your GitHub Action workflow'
author: 'LaunchDarkly'
branding:
icon: toggle-right
color: gray-dark
inputs:
sdk-key:
description: 'Server-side SDK key for environment.'
required: true
default: ''
flags:
description: 'Provide a list flag keys and default value in a comma separated format with a newline between each flag you want evaluated. `example-flag,true`'
required: true
default: ''
context-key:
description: 'The key of the context object used in a feature flag evaluation'
required: false
default: 'ld-github-action-flags'
send-events:
description: 'Whether to send analytics events back to LaunchDarkly'
required: false
default: 'true'
offline:
description: 'Whether to use the LaunchDarkly SDK in offline mode'
required: false
default: 'false'
base-uri:
description: 'The base URI for the LaunchDarkly server. Most users should use the default value.'
required: false
default: 'https://app.launchdarkly.com'
stream-uri:
description: 'The base URI for the LaunchDarkly streaming server. Most users should use the default value.'
required: false
default: 'https://stream.launchdarkly.com'
events-uri:
description: The base URI for the LaunchDarkly events server. Most users should use the default value.
required: false
default: 'https://events.launchdarkly.com'
proxy-auth:
description: 'Allows you to specify basic authentication parameters for an optional HTTP proxy. Usually of the form username:password.'
required: false
proxy-host:
description: 'Allows you to specify a host for an optional HTTP proxy. Both the host and port must be specified to enable proxy support.'
required: false
proxy-port:
description: 'Allows you to specify a port for an optional HTTP proxy. Both the host and port must be specified to enable proxy support.'
required: false
proxy-scheme:
description: 'When using an HTTP proxy, specifies whether it is accessed via http or https'
required: false
# Outputs are generated dynamically based on the flag-keys you supply
# outputs:
# YOUR-FLAG-KEY:
# description: 'The evaluated flag value'
# YOUR-OTHER-FLAG-KEY:
# description: 'The evaluated flag value'
runs:
using: 'node24'
main: 'dist/index.js'