forked from Namchee/conventional-pr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (45 loc) · 1.47 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: 'Conventional PRs'
description: "Enforce conventional commit style in your project's pull requests"
author: 'Cristopher Namchee'
inputs:
access_token:
description: 'GitHub Access Token'
required: true
check_draft:
description: 'Determine whether Conventional PR should check draft PRs'
required: false
default: false
label:
description: 'Nonconventional PRs label'
required: false
default: 'Nonconventional'
close:
description: 'Determine whether Conventional PR should close nonconventional PRs'
required: false
default: true
template:
description: 'Comment header on invalid PRs'
required: false
default: "Thank you for your contribution attempt in this repository!\n\nUnfortunately, this pull request doesn't meet our standards by reason we stated below. Please create another pull request that meets our standards in the future."
strict:
description: 'Determine whether the current restriction should apply to maintainers or not'
required: false
default: true
allowed_types:
description: 'List of allowed conventional commit types'
required: false
default: ''
allowed_scopes:
description: 'List of allowed conventional commit scopes'
required: false
default: ''
maximum_file_change:
description: 'Limits how many files should be changes per 1 pull request'
required: false
default: 0
runs:
using: docker
image: 'Dockerfile'
branding:
icon: 'compass'
color: 'gray-dark'