generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
68 lines (64 loc) · 1.86 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
60
61
62
63
64
65
66
67
68
name: 'find-issue-by-title'
description: 'Finds an issue by an exact title match'
author: 'benlei'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'play'
color: 'orange'
# Define your inputs here.
inputs:
repository:
description:
'The repository to fetch the issue from. For example, benlei/test-action'
default: ${{ github.repository }}
token:
description: The GitHub token used to create an authenticated client
default: ${{ github.token }}
required: false
fail-on-error:
description: 'Whether to fail the action if any error occurs'
default: 'true'
required: false
issue-number:
description: 'The number of the issue to load data from'
required: false
title:
description:
'The exact title of the issue, if issue-number is not specified'
required: false
state:
description:
'The expected state of the issue. Should either be open (default), closed,
or all'
required: false
default: 'open'
labels:
description:
'A comma-separated list of labels to filter the issue by, such as
`bug,ui,@high`'
required: false
# Define your outputs here.
outputs:
id:
description: 'The ID of the issue that was found'
number:
description: 'The number of the issue that was found'
title:
description: 'The title of the issue that was found'
body:
description: 'The body of the issue that was found'
state:
description: 'The state of the issue that was found'
locked:
description: 'Whether the issue is locked'
comments:
description: 'The number of comments on the issue'
created-at:
description: 'The date the issue was created'
updated-at:
description: 'The date the issue was last updated'
closed-at:
description: 'The date the issue was closed'
runs:
using: node20
main: dist/index.js