generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
34 lines (34 loc) · 931 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
33
34
name: 'Tinify Image Action'
description: 'Compress and resize images with the Tinify API'
author: 'namoscato'
inputs:
api_key:
description: 'Tinify API key'
required: true
github_token:
description: 'Repository GITHUB_TOKEN or personal access token secret'
required: false
default: ${{ github.token }}
commit_user_name:
description: 'Git user.name'
required: false
default: ${{ github.actor }}
commit_user_email:
description: 'Git user.email'
required: false
default: ${{ github.actor }}@users.noreply.github.com
commit_message:
description: 'Custom commit message'
required: false
resize_width:
description: 'Maximum target image width'
required: false
resize_height:
description: 'Maximum target image height'
required: false
runs:
using: 'docker'
image: 'docker://namoscato/github-action-tinify:v1'
branding:
icon: 'image'
color: 'green'