forked from totallymoney/assign-reviewers-by-labels-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (45 loc) · 1.61 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
name: 'Assign reviewers by labels'
description: 'Use labels to automatically assign reviewers to PRs'
branding:
icon: 'tag'
color: 'blue'
author: 'totallymoney'
inputs:
repo-token:
description: 'Token for the repository. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
required: true
config-file:
description: 'Path to the assign reviewers by label YAML configuration file or endpoint that returns JSON configuration file'
default: .github/assign_label_reviewers.yml
required: false
config-request-headers:
description: 'The headers to be passed when calling an endpoint to return the JSON configuration file'
required: false
unassign-if-label-removed:
description: 'Unassign reviewers when the reviewers label is removed'
default: 'true'
required: false
input-labels:
description: 'The PR Labels retrieved from github. Otherwise, they will be retrieved from the PR when created (From zero state)'
required: false
default: null
outputs:
assigned_status:
description: 'Whether reviewers have been assigned successfully'
assigned_message:
description: 'Additional details of the status'
assigned_reviewers:
description: 'The reviewers that the action has assigned'
assigned_url:
description: 'The PR url'
unassigned_status:
description: 'Whether reviewers have been unassigned successfully'
unassigned_message:
description: 'Additional details of the status'
unassigned_reviewers:
description: 'The reviewers that the action has unassigned'
unassigned_url:
description: 'The PR url'
runs:
using: 'node16'
main: 'dist/index.js'