-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
action.yml
38 lines (38 loc) · 1.28 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: 'Find Comment'
description: 'Find an issue or pull request comment'
inputs:
token:
description: 'GITHUB_TOKEN or a repo scoped PAT.'
default: ${{ github.token }}
repository:
description: 'The full name of the repository containing the issue or pull request.'
default: ${{ github.repository }}
issue-number:
description: 'The number of the issue or pull request in which to search.'
comment-author:
description: 'The GitHub user name of the comment author.'
body-includes:
description: 'A string to search for in the body of comments.'
body-regex:
description: 'A regular expression to search for in the body of comments.'
direction:
description: 'Search direction, specified as `first` or `last`'
default: first
nth:
description: '0-indexed number, specifying which comment to return if multiple are found'
default: 0
outputs:
comment-id:
description: 'The id of the matching comment found.'
comment-node-id:
description: 'The GraphQL node id of the matching comment found.'
comment-body:
description: 'The body of the matching comment found.'
comment-author:
description: 'The author of the matching comment found.'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'search'
color: 'gray-dark'