-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
47 lines (47 loc) · 1.87 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
name: 'Find links in merge requests'
description: 'Find all the links in commits from merge requests'
inputs:
token:
description: 'GITHUB_TOKEN or a repo scoped PAT.'
default: ${{ github.token }}
repository:
description: 'The full name of the repository containing the issue or pull request.'
default: ${{ github.repository }}
current-branch:
description: 'The current branch that the repo is on'
default: ${{ github.head_ref || github.ref_name || github.event.after }}
target-branch:
description: 'The target/base branch of the PR'
default: ${{ github.event.pull_request.base.ref || github.event.before }}
from-pr-only:
description: 'Flag to indicate if the links should come based on a PR'
default: false
issue-number:
description: 'The number of the issue or pull request in which to create a comment.'
default: ${{ github.event.pull_request.number }}
domain-filters:
description: 'Filters for the links to include only certain ones'
default: github.com
include-author:
description: 'Flag to include the author as part of the links when making the PR comment'
default: true
mondayToken:
description: 'Monday personal access token for access via monday api to get ticket information'
default:
mondayDomainTokens:
description: 'Monday personal access tokens for access via monday api to get ticket information based on domain. Comma sepeated and | separated between key value pairs'
default:
set-links-as-pr-comment:
description: 'Flag to set the links found as the body on the PR'
default: false
outputs:
links:
description: 'The list of links that were found. Data includes the url, author and name of card'
linksb64:
description: 'The list of links that were found in a base64 format'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'search'
color: 'gray-dark'