-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
49 lines (44 loc) · 2.01 KB
/
action.yml
File metadata and controls
49 lines (44 loc) · 2.01 KB
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
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"
skip-linked-issues-check-label:
description: "A label that causes the action to execute but skip the actual linked issues check. If the check is skipped, the `check_skipped` output is set to `true`. Any present comments added by this action are also deleted. Useful when incorporating this action into multi-action workflows."
required: false
default: 'no-issue'
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"]'
check_skipped:
description: 'Set to true if the linked issues check is skipped.'
runs:
using: 'node20'
main: 'dist/index.js'