forked from withfig/push-to-fig-autocomplete-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
38 lines (38 loc) · 1.4 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
name: "Update Fig Autocomplete spec"
description: "Action to automatically open a new PR to the withfig/autocomplete repo"
author: "Fig"
inputs:
token:
description: "GitHub access token"
default: ${{ github.token }}
autocomplete-spec-name:
required: true
description: "The spec name in the autocomplete repo. Do not include extension and do not include src/ at the beginning"
spec-path:
required: true
description: "The path to the spec in the actual repo"
spec-folder-path:
description: "The path to an additional folder with specs in the repo, used for very large specs which use `loadSpec`"
integration:
description: "The official Fig integration name used to autogenerate the spec"
pr-body:
description: "The created PR description"
diff-based-versioning:
description: "Use new diff-based versioning"
default: "false"
# Diff based versioning params
new-spec-version:
description: "The new spec version (only required when using diff-based-versioning)"
use-minor-base:
description: "Create a new version file per each minor version"
default: "false"
# Optional params
repo-org:
description: "The name of the organization that contains the repo in which to create the PR"
default: "withfig"
repo-name:
description: "The name of the repo in which to create the PR"
default: "autocomplete"
runs:
using: "node20"
main: "dist/main.js"