forked from lowlighter/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yml
52 lines (46 loc) · 1.54 KB
/
metadata.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
name: 📜 Repository licenses
category: github
description: |
This plugin display repository license informations like permissions, limitations and conditions along with additional stats about dependencies.
notes: |
> ⚠️ This is **NOT** legal advice, use at your own risk
> 💣 This plugin **SHOULD NOT** be enabled on web instances, since it allows raw command injection.
> This could result in compromised server!
examples:
+permissions, limitations and conditions: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.licenses.svg
+licenses overview: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.licenses.ratio.svg
index: 6
supports:
- repository
scopes:
- public_access
inputs:
plugin_licenses:
description: |
Enable licenses plugin
type: boolean
default: no
extras:
- metrics.cpu.overuse
- metrics.run.tempdir
- metrics.run.git
- metrics.run.licensed
- metrics.run.user.cmd
plugin_licenses_setup:
description: |
Setup command
> ℹ️ Depending on the project, this may not be required.
> The example command is intended for NodeJs projects that use `npm` to install their dependencies.
type: string
default: ""
example: "bash -c '[[ -f package.json ]] && npm ci || true'"
plugin_licenses_ratio:
description: |
Used licenses ratio
type: boolean
default: no
plugin_licenses_legal:
description: |
Permissions, limitations and conditions about used licenses
type: boolean
default: yes