-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaction.yml
More file actions
75 lines (75 loc) · 2.39 KB
/
action.yml
File metadata and controls
75 lines (75 loc) · 2.39 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
65
66
67
68
69
70
71
72
73
74
75
name: 'GitHub README.md Metrics'
description: 'Update your GitHub README.md with cool metrics.'
author: 'Nguyen Thanh Hau'
inputs:
GITHUB_TOKEN:
description: 'GitHub token with repo access'
required: true
SHOW_METRICS:
description: 'Use this to specify which metrics to show'
required: true
WAKATIME_API_KEY:
description: 'WakaTime API key'
required: false
WAKATIME_DATA:
description: 'Data to show from WakaTime'
required: false
WAKATIME_RANGE:
description: 'Range of data to show from WakaTime'
required: false
TIME_ZONE:
description: 'Time zone to show in the metrics'
required: false
TIME_LAYOUT:
description: 'Time layout to show in the metrics'
required: false
SHOW_LAST_UPDATE:
description: 'Show last update in the readme'
required: false
ONLY_MAIN_BRANCH:
description: "Only use main branch's commits"
required: false
HIDE_REPO_INFO:
description: 'Hide repository information'
required: false
COMMIT_MESSAGE:
description: 'Commit message'
required: false
COMMIT_USER_NAME:
description: 'Commit user name'
required: false
COMMIT_USER_EMAIL:
description: 'Commit user email'
required: false
LANGUAGES_AND_TOOLS:
description: 'Languages and tools used in the repositories'
required: false
EXCLUDE_FORK_REPOS:
description: 'Exclude fork repositories'
required: false
SIMPLIFY_COMMIT_TIMES_TITLE:
description: 'Simply title for COMMIT_TIMES_OF_DAY'
required: false
runs:
using: docker
image: Dockerfile
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
SHOW_METRICS: ${{ inputs.SHOW_METRICS }}
WAKATIME_API_KEY: ${{ inputs.WAKATIME_API_KEY }}
WAKATIME_DATA: ${{ inputs.WAKATIME_DATA }}
WAKATIME_RANGE: ${{ inputs.WAKATIME_RANGE }}
TIME_ZONE: ${{ inputs.TIME_ZONE }}
TIME_LAYOUT: ${{ inputs.TIME_LAYOUT }}
SHOW_LAST_UPDATE: ${{ inputs.SHOW_LAST_UPDATE }}
ONLY_MAIN_BRANCH: ${{ inputs.ONLY_MAIN_BRANCH }}
HIDE_REPO_INFO: ${{ inputs.HIDE_REPO_INFO }}
COMMIT_MESSAGE: ${{ inputs.COMMIT_MESSAGE }}
COMMIT_USER_NAME: ${{ inputs.COMMIT_USER_NAME }}
COMMIT_USER_EMAIL: ${{ inputs.COMMIT_USER_EMAIL }}
LANGUAGES_AND_TOOLS: ${{ inputs.LANGUAGES_AND_TOOLS }}
EXCLUDE_FORK_REPOS: ${{ inputs.EXCLUDE_FORK_REPOS }}
SIMPLIFY_COMMIT_TIMES_TITLE: ${{ inputs.SIMPLIFY_COMMIT_TIMES_TITLE }}
branding:
icon: 'star'
color: 'orange'