-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
37 lines (37 loc) · 962 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
35
36
37
name: "Goodreads Profile Workflow"
author: "Simon Wicki"
description: "Show what you're currently reading and recently read on your GitHub profile readme"
inputs:
goodreads_user_id:
description: "Your goodreads user id you want to have the lists fetched from (go to 'My Books' to see it in the URL)"
required: true
shelf:
default: "currently-reading"
required: false
max_books_count:
default: "10"
required: false
readme_file_path:
default: "./README.md"
required: false
output_only:
default: "false"
required: false
comment_tag_name:
default: "GOODREADS-LIST"
required: false
template:
default: "- [$title]($url) by $author (⭐️$average_rating)"
required: false
sort_by_fields:
default: ">pubDate"
required: false
outputs:
books:
description: "stringified JSON of fetched books"
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "book"
color: "gray-dark"