forked from calibreapp/image-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
50 lines (40 loc) · 1.07 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
name: "Image Actions"
author: "Calibre"
description: "Compresses Images for the Web"
inputs:
githubToken:
description: "GitHub Token"
required: true
jpegQuality:
description: "JPEG quality level"
required: false
default: "80"
jpegProgressive:
description: "Use progressive (interlaced) scan for JPEG"
required: false
default: "false"
pngQuality:
description: "PNG quality level"
required: false
default: "80"
webpQuality:
description: "WEBP quality level"
required: false
default: "80"
ignorePaths:
description: "Paths to ignore during search"
required: false
default: "node_modules/**"
compressOnly:
description: "Images will be compressed. No commit, or comments will be added to your Pull Request"
required: false
default: "false"
outputs:
markdown:
description: "Output param used to store the Markdown summary for subsequent actions to use"
runs:
using: "docker"
image: "docker://ghcr.io/calibreapp/image-actions/image-actions:main"
branding:
icon: "image"
color: "green"