forked from github/issue-labeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (41 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
39
40
41
42
name: 'RegEx Issue Labeler'
description: 'Labels issues automatically based on their body'
author: 'GitHub'
inputs:
repo-token:
description: 'The GITHUB_TOKEN secret'
required: false
default: '${{ github.token }}'
configuration-path:
description: 'Path to the labeler.yml configuration file'
required: true
enable-versioned-regex:
description: 'Controls if versioned regex templates are being used'
required: true
versioned-regex:
description: 'The regex version number to use. Only required if using versioned regex files'
required: false
not-before:
description: 'Is optional and will result in any issues prior to this timestamp to be ignored'
required: false
body-missing-regex-label:
description: 'The name of the label that should be added to an issue where the specified `version-regex` can not be found.'
required: false
include-title:
description: 'Include the title in addition to the body in the regex target'
required: false
default: "0"
sync-labels:
description: 'Remove the label from the issue if the label regex does not match'
required: false
default: "0"
issue_number:
description: 'The number of the issue/PR to label'
required: false
default: ${{ github.event.issue.number || github.event.pull_request.number }}
runs:
using: 'node16'
main: 'lib/index.js'
branding:
icon: 'activity'
color: 'blue'