-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
51 lines (50 loc) · 1.27 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
name: 'Stargazer Action'
description: 'Generates a list of starred repositories'
branding:
icon: 'star'
color: 'yellow'
inputs:
github-user:
description: 'Github user whose stars are fetched'
required: true
default: ''
github-token:
description: 'Access token for the github API'
required: true
default: ''
list-file:
description: 'Filename of the stargazer list'
required: false
default: 'README.md'
format:
description: 'Format of the stargazer list [list, table]'
required: false
default: 'list.md'
ignored-repositories:
description: 'Comma separated list of repositories to ignore'
required: false
default: ''
with-toc:
description: 'Print table of contents'
required: false
default: 'true'
with-license:
description: 'Print license of repositories'
required: false
default: 'true'
with-stars:
description: 'Print starcount of repositories'
required: false
default: 'true'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.github-user }}
- ${{ inputs.github-token }}
- ${{ inputs.list-file }}
- ${{ inputs.format }}
- ${{ inputs.ignored-repositories }}
- ${{ inputs.with-toc }}
- ${{ inputs.with-license }}
- ${{ inputs.with-stars }}