forked from apache/incubator-resilientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
53 lines (50 loc) · 1.44 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
# This script is from https://github.com/shadowmoose/GHA-LoC-Badge/blob/master/action.yml
name: 'lines of code Badge'
description: 'Generate a badge to display total Lines of Code'
inputs:
directory:
description: 'The directory to scan.'
required: false
default: './'
badge:
description: 'The output path to save the badge svg - including extension!'
required: false
default: './badge.svg'
patterns:
description: 'The file patterns to search for, separated by pipes ("|").'
required: false
default: "**"
ignore:
description: 'The file patterns to ignore, even if they matched "patterns", separated by pipes ("|").'
required: false
default: "node_modules"
badge_label:
description: "The label to use for the badge."
required: false
default: "lines of code"
badge_color:
description: "The color to use for the badge."
required: false
default: "blue"
badge_style:
description: "The body style to use for the badge. ('flat' or 'classic')"
required: false
default: "classic"
badge_scale:
description: "The scale to resize this badge"
required: false
default: "1"
badge_labelcolor:
description: "The color to use for this badge label."
required: false
default: "555"
debug:
description: 'Enable debug logging'
required: false
default: 'false'
runs:
using: 'node12'
main: './src/index.js'
branding:
icon: 'award'
color: 'green'