This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
59 lines (55 loc) · 1.78 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
name: 'report-action-usage'
description: 'Action to create a CSV or Markdown report of GitHub Actions used'
inputs:
token:
description: 'GitHub Personal Access Token (PAT) with appropriate user/organization/enterprise scope'
required: true
enterprise:
description: 'GitHub Enterprise Cloud account slug'
required: false
owner:
description: |
GitHub organization/user login
If owner is a user, results for the authenticated user will be returned
required: false
exclude:
description: |
Exclude actions created by GitHub
i.e. actions from https://github.com/actions and https://github.com/github organizations
default: 'false'
required: false
unique:
description: 'List unique GitHub Actions. Possible values are `true`, `false` and `both`.'
default: 'false'
required: false
csv:
description: 'Path to CSV for the output, e.g. /path/to/action-uses.csv'
default: ''
required: false
md:
description: 'Path to markdown for the output, e.g. /path/to/action-uses.md'
default: ''
required: false
push_results_to_repo:
description: Push the CSV/markdown results to the repoository
default: 'false'
required: false
outputs:
csv_result:
description: 'GitHub Actions used as CSV (only if `csv` input provided)'
csv_result_unique:
description: |
GitHub Actions used as CSV (only if `csv` input provided and `unique=both`)
md_result:
description: 'GitHub Actions used as markdown (only if `md` input provided)'
md_result_unique:
description: |
GitHub Actions used as markdown (only if `md` input provided and `unique=both`)
json_result:
description: 'GitHub Actions used as JSON'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'list'
color: 'green'