-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 loc) · 846 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: "Count the number of different lines in a PR"
author: "NMZ0429"
description: "Count the number of different lines in a PR"
branding:
icon: "git-pull-request"
color: "blue"
inputs:
github-token:
description: "GITHUB_TOKEN"
required: true
good-num-lines:
description: "The number of lines to warn"
required: false
default: "300"
max-num-lines:
description: "The maximum number of lines to count"
required: false
default: "500"
ignore:
description: "Files to ignore (gitignore format)"
required: false
default: "[]"
disable-branches:
description: "If the PR is towards the specified branch, disable the action"
required: false
default: "[]"
outputs:
num-diff-lines:
description: "The number of different lines in a PR"
runs:
using: "node20"
main: "dist/index.js"