-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
60 lines (60 loc) · 1.93 KB
/
action.yaml
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
name: Helm values.schema.json action
author: losisin
description: A GitHub action for generating json schema from multiple values files for Helm3 charts
inputs:
input:
description: Input value file. Can be single or comma-separated list of yaml files
required: true
draft:
description: Draft version of the schema. Accepted values are 4, 6, 7, 2019 and 2020
required: false
default: 2020
indent:
description: Indentation spaces (even number)
required: false
default: 4
output:
description: Output file name with path to store the generated schema
required: false
default: values.schema.json
id:
description: ID of the schema
required: false
title:
description: Title of the schema
required: false
description:
description: Description of the schema
required: false
additionalProperties:
description: Additional properties allowed in the schema
required: false
git-push:
description: If true it will commit and push the changes (ignored if `fail-on-diff` is set)
required: false
default: 'false'
git-push-user-name:
description: If empty the name of the GitHub Actions bot will be used (i.e. `github-actions[bot]`)
required: false
default: "github-actions[bot]"
git-push-user-email:
description: If empty the no-reply email of the GitHub Actions bot will be used (i.e. `github-actions[bot]@users.noreply.github.com`)
required: false
default: "github-actions[bot]@users.noreply.github.com"
git-commit-message:
description: Commit message
required: false
default: "update values.schema.json"
fail-on-diff:
description: Fail the job if there is any diff found between the generated output and existing file
required: false
default: 'false'
outputs:
plugin-path:
description: 'Path to the cached JSON schema binary'
runs:
using: node20
main: dist/index.js
branding:
icon: file-text
color: gray-dark