forked from jesusvasquez333/verify-pr-label-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 loc) · 821 Bytes
/
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
name: 'Verify Pull Request Labels'
author: 'Jesus Vasquez'
description: 'Verify that the PR has a valid label'
branding:
icon: 'check'
color: 'gray-dark'
inputs:
github-token:
description: 'The GitHub token'
required: true
valid-labels:
description: 'List of valid labels'
required: true
invalid-labels:
description: 'List of invalid labels'
required: false
default: ''
pull-request-number:
description: 'The Pull Request number'
required: false
disable-reviews:
description: 'Should the action post reviews on PRs'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.github-token }}
- ${{ inputs.valid-labels }}
- ${{ inputs.invalid-labels }}
- ${{ inputs.pull-request-number }}
- ${{ inputs.disable-reviews }}