-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (44 loc) · 1.31 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
name: IssueOps Validator
description: Validate issue form submissions
author: Nick Alteen
branding:
icon: check-square
color: blue
inputs:
add-comment:
description: Whether to comment on the issue with a success/failure message
required: false
default: 'true'
github-token:
description: The GitHub API token to use
required: false
default: ${{ github.token }}
issue-form-template:
description: The issue form template file name (e.g. `new-repository.yml`)
required: true
issue-number:
description: The issue number
required: true
default: ${{ github.event.issue.number }}
parsed-issue-body:
description: The issue body parsed by `issue-ops/parser`
required: true
default: ${{ github.event.issue.body }}
repository:
description: The repository where the issue was opened
required: false
default: ${{ github.repository }}
workspace:
default: ${{ github.workspace }}
description:
The path where the repository has been cloned using the `actions/checkout`
step. This is required to find the issue form template file.
required: true
outputs:
result:
description: The result of the validation ('success' or 'failure')
errors:
description: The errors encountered during validation
runs:
using: node20
main: dist/index.js