generated from yi-Xu-0100/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
85 lines (81 loc) · 2.2 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
name: 'Repo-List-Generator'
author: 'yi_Xu'
description: 'Generate repo list for user or organization.'
branding:
icon: 'list'
color: 'yellow'
inputs:
user:
description: >
Set up the user name to generate repository list.
It can be user or organization.
The 'owner/repository' will transform to 'owner'.
required: false
default: ${{ github.repository }}
max_page:
description: >
Set up maxPage for request to generate repository list.
Default 100 repository per page can be fetched.
required: false
default: 10
my_token:
description: >
Set up the personal access token (PAT).
The PAT is used to generate repository list for user or organization.
required: false
default: ${{ github.token }}
block_list:
description: >
Set up the block_list for repoList.
The repositories in block_list will exclude in repository list.
required: false
default: ''
allow_empty:
description: >
Set up whether allow empty repository for repoList.
required: false
default: false
allow_archived:
description: >
Set up whether allow archived repository for repoList.
required: false
default: true
outputs:
repo:
description: >
Current repository name.
repoList:
description: >
Repository list exclude private and fork.
Public(source without private) and no fork.
repoList_ALL:
description: >
Repository list include private and fork.
Source(public and private) and fork.
repoList_PRIVATE:
description: >
Repository list include private.
Source(public and private) and no fork.
repoList_FORK:
description: >
Repository list include fork.
Public(source without private) and fork.
privateList:
description: >
Private repository list.
Only private(fork can not be private).
forkList:
description: >
Fork repository list.
Only fork(private can not be fork).
emptyList:
description: >
Empty repository list.
Default exclude in each list.
archivedList:
description: >
Archived repository list.
Default include in each list.
runs:
using: 'node16'
main: 'dist/index.js'