-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
96 lines (77 loc) · 2.16 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
90
91
92
93
94
95
96
name: WakaTime Stats SVG Charts Generator
author: Levin Wong
description: Generate WakaTime Stats SVG Charts For Your Github Profile
inputs:
WAKATIME_API_KEY:
description: Your WakaTime API Key
required: true
GITHUB_TOKEN:
description: GitHub access token
required: true
default: ${{ github.token }}
WAKATIME_LANG_LIMIT:
description: Limit the number of languages to show in the chart
required: false
default: 5
WAKATIME_CHART_WIDTH:
description: Width of the chart
required: false
default: 540
WAKATIME_CHART_HEIGHT:
description: Height of the chart
required: false
default: 168
WAKATIME_CHART_BAR_HEIGHT:
description: Bar Height of the chart
required: false
default: 34
WAKATIME_CHART_MARGIN_X:
description: Margin X of the chart
required: false
default: 12
WAKATIME_CHART_MARGIN_Y:
description: Margin Y of the chart
required: false
default: 4
WAKATIME_CHART_PADDING:
description: Padding of the chart
required: false
default: 2
WAKATIME_CHART_COL_NAME_WIDTH:
description: Width of the `name` column
required: false
default: 100
WAKATIME_CHART_COL_DURATION_WIDTH:
description: Width of the `durations` column
required: false
default: 110
WAKATIME_CHART_DYNAMIC_HEIGHT:
description: Calculate the height of the chart dynamically based on the number of languages and bar height
required: false
default: true
BRANCH_NAME:
description: Branch that needs to updated
required: false
default: main
COMMIT_MESSAGE:
description: Commit message on each generation of charts
required: false
default: 📊 Update WakaCharts by WakaCharts-Bot
IMAGES_FOLDER:
description: Name of the folder in which generated charts will be shown
required: false
default: images
GIT_USER_EMAIL:
description: User email for git
required: false
default: '41898282+github-actions[bot]@users.noreply.github.com'
GIT_USER_NAME:
description: User name for git
required: false
default: GitHub Actions
runs:
using: docker
image: Dockerfile
branding:
icon: bar-chart-2
color: gray-dark