forked from Gamer025/RequestReviewFromUser
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
58 lines (57 loc) · 1.44 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
50
51
52
53
54
55
56
57
58
name: 'RequestReviewFromUser'
description: "Github action requesting reviews from users for PRs."
branding:
icon: user
color: white
inputs:
owner:
description:
"The owner, for example: \"dotnet\". Assign from `github.repository_owner`."
required: true
default: ${{ github.repository_owner }}
name:
description:
"The repository name, for example: \"samples\". Assign from `github.repository`."
required: true
default: ${{ github.repository }}
token:
description:
"Github secret token. Assign from `github.token`."
required: true
default: ${{ github.token }}
ID:
description:
"ID of the PR to process. Assign from `github.event.pull_request.number`."
required: true
default: ${{ github.event.pull_request.number }}
separator:
description:
"Separator to use if multiple users are input."
required: false
users:
description:
"User(s) to request review from."
required: true
alwaysRequestAll:
description:
"Request review from all provided users, even if they got previously removed from review by a maintainer."
required: false
default: "false"
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '-o'
- ${{ inputs.owner }}
- '-n'
- ${{ inputs.name }}
- '-t'
- ${{ inputs.token }}
- '-i'
- ${{ inputs.ID }}
- '-s'
- ${{ inputs.separator }}
- '-u'
- ${{ inputs.users }}
- '-r'
- ${{ inputs.alwaysRequestAll }}