forked from callmekatootie/carbonate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 loc) · 1.4 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
---
name: 'Carbonate'
description: 'Generate beautiful images for code blocks present in issues'
inputs:
github-token:
description: 'The GITHUB_TOKEN. Will read off the environment variable by default'
required: false
default: ${{ github.token }}
imgur-client-id:
description: 'All images are hosted on Imgur. Thus, provide your Imgur app client id'
required: true
use-prettier:
description: 'Should the code block be formatted using prettier? Pass String `true` or String `false`. Default is `true`'
required: false
default: 'true'
prettier-parser:
description: 'This is read only if `use-prettier` is set to `true`. This is the parser to use with Prettier. Default value is babel'
required: false
default: 'babel'
prettier-options:
description: 'This is read only if `use-prettier` is set to `true`. This is the Prettier options object, as a JSON string. Default values are the ones defined by Prettier itself. Check out their documentation'
required: false
carbon-options:
description: 'The Carbon options object, as a JSON string. See `https://github.com/petersolopov/carbonara#post-apicook` for a list of supported options. Ignores the `code` property though. For default values, please check out the constants.js file in the source code of this action'
required: false
runs:
using: 'node12'
main: 'index.js'
branding:
icon: 'code'
color: 'blue'
...