forked from Schneegans/dynamic-badges-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (54 loc) · 1.43 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
name: 'Dynamic Badges'
description: 'Creates badge descriptions to be used with shields.io/endpoint and uploads them to a gist.'
branding:
icon: 'tag'
color: 'green'
inputs:
auth:
description: 'Your secret with the gist scope'
required: true
gistID:
description: 'The ID of the gist to use'
required: true
filename:
description: 'The *.json filename of the badge data'
required: true
label:
description: 'The left text of the badge'
required: true
message:
description: 'The right text of the badge'
required: true
labelColor:
description: 'The left color of the badge'
required: false
color:
description: 'The right color of the badge'
required: false
isError:
description: 'The color will be red and cannot be overridden'
required: false
namedLogo:
description: 'A logo name from simpleicons.org'
required: false
logoSvg:
description: 'An svg-string to be used as logo'
required: false
logoColor:
description: 'The color for the logo'
required: false
logoWidth:
description: 'The space allocated for the logo'
required: false
logoPosition:
description: 'The position of the logo'
required: false
style:
description: 'The style like "flat" or "social"'
required: false
cacheSeconds:
description: 'The cache lifetime in seconds (must be greater than 300)'
required: false
runs:
using: 'node12'
main: 'index.js'