forked from JJ/github-pr-contains-action
-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
28 lines (27 loc) · 796 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
name: 'GitHub PR Content Checker'
description: 'Checks PR body and diff for word occurrences'
author: 'jsoares'
branding:
icon: 'git-pull-request'
color: 'gray-dark'
inputs:
github-token:
description: 'Github token, added magically'
bodyContains:
description: 'String that must be in the PR body'
bodyDoesNotContain:
description: 'String that must not be in the PR body'
diffContains:
description: 'String that must be in the PR diff'
diffDoesNotContain:
description: 'String that must not be in the PR diff'
maxLinesChanged:
description: 'Max number of lines changed per PR'
maxFilesChanged:
description: 'Max number of files changed per PR'
outputs:
diff:
description: "Lines added to the PR"
runs:
using: 'node12'
main: 'dist/index.js'