This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
49 lines (43 loc) · 1.56 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
name: find-linked-issues
author: Ismoh-Games Ismoh
description: Marketplace action for finding the linked issues of a pull request.
inputs:
token:
description: The GitHub token to use for authentication.
required: true
repository:
description: The repository to use for searching issues.
required: true
default: ${{ github.repository }}
pull-request-number:
description: The pull request number.
required: true
default: ${{ github.event.pull_request.number }}
pull-request-body:
description: The pull request body.
required: true
default: ${{ github.event.pull_request.body }}
copy-issues-labels:
description: Copy the labels of the linked issues to the pull request. (optional)
required: false
default: 'false'
include-closed-issues:
description: Includes closed issues, when searching for linked issues. (optional)
required: false
default: 'false'
outputs:
is-pull-request-linked-to-issues:
description: Whether the pull request is linked to issues or not.
#value: ${{ steps.find-linked-issues.outputs.is-pull-request-linked-to-issues }}
linked-issues:
description: "List of issues that are linked to the pull request, i.e. `[1, 2, 4, 82, 124]`"
#value: ${{ steps.find-linked-issues.outputs.linked-issues }}
pull-request-labels:
description: "List of labels assigned to this pull request, i.e. `[bug, enhancement, ..]`"
#value: ${{ steps.find-linked-issues.outputs.pull-request-labels }}
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'link'
color: 'purple'