-
Notifications
You must be signed in to change notification settings - Fork 46
/
action.yaml
42 lines (34 loc) · 1.09 KB
/
action.yaml
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
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021 Avinal Kumar <[email protected]>
#
# Distributed under the terms of MIT License
# The full license is in the file LICENSE, distributed with this software.
name: "WakaTime Stat Update Action"
author: Avinal
description: "Generate a WakaTime activity bar graph to be used in the README.md or embedded in web-page"
inputs:
WAKATIME_API_KEY:
description: "Your WakaTime API Key"
required: true
GITHUB_TOKEN:
description: "GitHub access token"
required: true
default: ${{ github.token }}
BRANCH:
description: "Which branch is used for saving images"
required: false
default: "master"
COMMIT_MSG:
description: "Manual commit messages"
required: false
default: "Automated Coding Activity Update :alien:"
STATS_RANGE:
description: "The range of statistics data to collect"
required: false
default: "last_7_days" # see. https://wakatime.com/developers#stats
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "sun"
color: "yellow"