-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yml
43 lines (38 loc) · 1.55 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
name: 'Check linked issues'
description: 'Check if pull requests have their corresponding issues.'
branding:
icon: "check-square"
color: "green"
inputs:
github-token:
description: "Your Github token, it's already available to your Github action."
required: false
default: ${{ github.token }}
exclude-branches:
description: "A comma-separated list of patterns to ignore source branches. (Any pattern supported by `minimatch`)"
required: false
default: ""
exclude-labels:
description: "A comma-separated list of labels to ignore."
required: false
default: ""
comment:
description: "A boolean value that allow the action to create a comment"
required: false
default: "true"
custom-body-comment:
description: "Custom body PR comment"
required: false
default: "No linked issues found. Please add the corresponding issues in the pull request description. <br/> [Use GitHub automation to close the issue when a PR is merged](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)"
loose-matching:
description: "A boolean value that allow PR to link issues on any branch"
required: false
default: "false"
outputs:
linked_issues_count:
description: 'The total number of issues linked to your pull request.'
issues:
description: 'A stringified array containing the numbers of the linked issues, of the form ["some/repo#123", "another/repository#456"]'
runs:
using: 'node20'
main: 'dist/index.js'