-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
33 lines (33 loc) · 1.41 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
name: Read
author: Katy DeCorah
description: Looks up books information given an issue with the title of an ISBN.
runs:
using: node20
main: dist/index.js
branding:
icon: book
color: yellow
inputs:
filename:
description: The file where you want to save your books.
default: _data/read.json
providers:
description: >-
Specify the [ISBN
providers](https://github.com/library-pals/isbn?tab=readme-ov-file#setting-backend-providers)
that you want to use, in the order you need them to be invoked. If setting
more than one provider, separate each with a comma.
time-zone:
description: Your time zone.
default: America/New_York
required-metadata:
description: Required metadata properties. This can be used to make the action open a pull request if one of these values is missing data in the desired book instead of committing directly to a repository.
default: title,pageCount,authors,description,thumbnail
set-image:
description: If true, the action will set the `image` for the book. This is helpful if you add an extra step to download this image.
default: false
thumbnail-width:
description: The width of the thumbnail image (for books sourced from Google Books). The default size is 128.
outputs:
nowReading:
description: "When a new book is started this output will contain an object with the book's: title, description, thumbnail, authors, and isbn."