-
Notifications
You must be signed in to change notification settings - Fork 50
/
action.yml
52 lines (50 loc) · 1.81 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
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: "The path to the label configuration file. If the file doesn't exist at the specified path on the runner, action will read from the source repository via the Github API."
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 the regex target'
required: false
default: "0"
include-body:
description: 'Include the body in the regex target'
required: false
default: "1"
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 }}
outputs:
labels-added:
description: 'The labels that were added by the action, as a stringified array.'
labels-removed:
description: 'The labels that were removed by the action, as a stringified array.'
runs:
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'activity'
color: 'blue'