-
Notifications
You must be signed in to change notification settings - Fork 21
/
action.yml
48 lines (46 loc) · 1.23 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
name: "My GitHub Status"
icon: "calendar"
description: "Generate my github status using GitHub Actions"
inputs:
GH_USERNAME:
description: "Your GitHub username"
default: ${{ github.repository_owner }}
required: false
STARRED_NUM:
description: "The number of starred repos to be shown"
default: 10
required: false
REPOS_NUM:
description: "The number of personal repos to be shown. 0 means no limit."
default: 0
required: false
TELEGRAM_TOKEN:
description: "Token for telegram bot if needed"
default: ""
required: false
TELEGRAM_CHAT_ID:
description: "TG chat ID to send message"
default: 0
required: false
WITH_STARED:
description: "If with stared repos"
default: true
required: false
GH_TOKEN:
description: "Token for github if needed"
default: ""
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- "-username=${{ inputs.GH_USERNAME }}"
- "-ghtoken=${{ inputs.GH_TOKEN }}"
- "-withstared=${{ inputs.WITH_STARED }}"
- "-stared=${{ inputs.STARRED_NUM }}"
- "-repos=${{ inputs.REPOS_NUM }}"
- "-tgid=${{ inputs.TELEGRAM_CHAT_ID }}"
- "-tgtoken=${{ inputs.TELEGRAM_TOKEN }}"
branding:
icon: github
color: gray-dark