-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
73 lines (73 loc) · 2.2 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Conventional PR
description: "Validates and enforces clean pull request style in your GitHub projects without hassle"
author: "Cristopher Namchee"
inputs:
access_token:
description: "GitHub access token"
required: true
close:
description: "Immediately close invalid pull request"
required: false
default: false
label:
description: "Invalid pull requests label"
required: false
default: ""
message:
description: "Extra message to be posted on validation failure"
required: false
default: ""
draft:
description: "Skip pull request validation if the pull request is a draft"
required: false
default: true
strict:
description: "Enforce validation rules to repository administrators"
required: false
default: true
bot:
description: "Skip pull request validation if the author is a bot"
required: false
default: true
title_pattern:
description: "Valid pull request title regex pattern in Perl syntax"
required: false
default: '([\w\-]+)(\([\w\-]+\))?!?: [\w\s:\-]+'
commit_pattern:
description: "Valid pull request commit message regex pattern in Perl syntax"
required: false
default: ""
branch_pattern:
description: "Valid pull request branch name regex pattern in Perl syntax"
required: false
default: ""
issue:
description: "Require all pull request to reference an existing issue"
required: false
default: true
body:
description: "Require all pull request to have a non-empty body"
required: false
default: true
maximum_changes:
description: "Limits file changes per pull request"
required: false
default: 0
ignored_users:
description: "GitHub usernames to be whitelisted from pull request validation"
required: false
default: ""
edit:
description: "Edit existing validation report instead of creating a new comment"
required: false
default: false
verbose:
describe: "Post validation report on every pull request validation flow"
required: false
default: false
runs:
using: docker
image: "Dockerfile"
branding:
icon: "compass"
color: "gray-dark"