generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 22
/
action.yml
31 lines (31 loc) · 1004 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
name: "LFS-warning"
description: "Checks file sizes in a Pull Request and warns of large files"
inputs:
token:
required: false
description: Token used to fetch the repository
default: ${{ github.token }}
filesizelimit: # id of input
description: "file size limit threshold"
required: false
default: "10mb"
exclusionPatterns:
required: false
description: A newline delimited list of glob patterns that match checked in files to exclude form LFS Warning
labelName:
required: false
default: lfs-detected!
description: The name of the label, defaults to lfs-detected!
labelColor:
required: false
default: ff1493
description: The color of the label, defaults to ff1493
outputs:
lfsFiles: # output will be available to future steps
description: "Array of possible detected large file(s)"
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "alert-triangle" # icon referenced from https://feathericons.com/
color: "yellow"