-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
53 lines (51 loc) · 1.65 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
name: "GitHub Dependents Info"
author: "Nicolas Vuillamy"
description: "Generates a markdown file with all repositories that have dependencies with the current GitHub repository package (s)"
inputs:
repo:
description: "Owner and name of the repository (example: nvuillam/node-sarif-builder)"
required: true
outputrepo:
description: "Owner and name of the output repository, if different from repo (example: nvuillam/node-sarif-builder)"
required: false
markdownfile:
description: "Path and name of the output markdown file"
required: false
default: "docs/github-dependents-info.md"
badgemarkdownfile:
description: "Path and name of the file where to replace badges (example: README.md). Must contain tags <!-- gh-dependents-info-used-by-start --><!-- gh-dependents-info-used-by-end -->"
required: false
default: README.md
sort:
description: "Sort criteria: stars (default) or name"
required: false
default: stars
minstars:
description: "Minimum number of stars to appear in the results"
required: false
default: "0"
mergepackages:
description: "If multiple packages, merge in a single result. Default: true"
required: false
default: "true"
runs:
using: "docker"
image: "docker://nvuillam/github-dependents-info:v1.6.3"
args:
- --repo
- ${{ inputs.repo }}
- --outputrepo
- ${{ inputs.outputrepo }}
- --markdownfile
- ${{ inputs.markdownfile }}
- --badgemarkdownfile
- ${{ inputs.badgemarkdownfile }}
- --sort
- ${{ inputs.sort }}
- --minstars
- ${{ inputs.minstars }}
- --mergepackages
- --verbose
branding:
icon: "users"
color: "green"