-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
29 lines (29 loc) · 1.08 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
name: 'Find Last Issue'
author: 'Micael Levi L. C.'
description: 'GitHub Action to find and export the number of last updated issue whithin some repository that has given labels.'
inputs:
repository:
description: 'The target GitHub owner and name separated by slash. For example: `micalevisk/last-issue-action`.'
default: ${{ github.repository }}
token:
description: 'The GitHub token providing at least `issues: read` authorization to the repository.'
default: ${{ github.token }}
labels:
description: 'Comma-separated label names that the issue must have.'
required: true
state:
description: 'Issue state to filter by. Can be `"open"`, `"closed"` or `"all"`'
required: false
outputs:
issue-number:
description: 'The number of the issue found, otherwise empty.'
has-found:
description: 'Response status. Will be `true` if some issue was found, otherwise `false`.'
is-closed:
description: 'Will be `true` if the issue found is closed, otherwise `false`.'
runs:
using: 'node20'
main: 'bundle/index.js'
branding:
icon: 'crosshair'
color: 'purple'