Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 21, 2023
1 parent bbb5c4f commit 34d05b2
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ on:
description: The book's ISBN. Required.
required: true
type: string
book-status:
description: What is the status of the book? Required.
required: true
type: choice
default: "want to read"
options:
- "want to read"
- "started"
- "finished"
- "abandoned"
date:
description: Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
type: string
notes:
description: Notes about the book. Optional.
type: string
Expand All @@ -53,19 +66,6 @@ on:
tags:
description: Add tags to categorize the book. Separate each tag with a comma. Optional.
type: string
book-status:
description: What is the status of the book? Required.
required: true
type: choice
default: "want to read"
options:
- "want to read"
- "started"
- "finished"
- "abandoned"
date:
description: Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
type: string

# Set up the steps to run the action
jobs:
Expand Down Expand Up @@ -106,6 +106,19 @@ permissions:
on:
workflow_dispatch:
inputs:
book-status:
description: What is the status of the book? Required.
required: true
type: choice
default: "want to read"
options:
- "want to read"
- "started"
- "finished"
- "abandoned"
date:
description: Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
type: string
isbn:
description: The book's ISBN. Required.
required: true
Expand All @@ -131,19 +144,6 @@ on:
tags:
description: Add tags to categorize the book. Separate each tag with a comma. Optional.
type: string
book-status:
description: What is the status of the book? Required.
required: true
type: choice
default: "want to read"
options:
- "want to read"
- "started"
- "finished"
- "abandoned"
date:
description: Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
type: string

# Set up the steps to run the action
jobs:
Expand Down Expand Up @@ -217,6 +217,19 @@ on:
description: The book's ISBN. Required.
required: true
type: string
book-status:
description: What is the status of the book? Required.
required: true
type: choice
default: "want to read"
options:
- "want to read"
- "started"
- "finished"
- "abandoned"
date:
description: Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
type: string
notes:
description: Notes about the book. Optional.
type: string
Expand All @@ -238,19 +251,6 @@ on:
tags:
description: Add tags to categorize the book. Separate each tag with a comma. Optional.
type: string
book-status:
description: What is the status of the book? Required.
required: true
type: choice
default: "want to read"
options:
- "want to read"
- "started"
- "finished"
- "abandoned"
date:
description: Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
type: string

# Set up the steps to run the action
jobs:
Expand Down Expand Up @@ -302,11 +302,11 @@ To trigger the action, [create a workflow dispatch event](https://docs.github.co
"ref": "main", // Required. The git reference for the workflow, a branch or tag name.
"inputs": {
"isbn": "", // Required. The book's ISBN. Required.
"book-status": "", // Required. What is the status of the book? Required. Default: `want to read`.
"date": "", // Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
"notes": "", // Notes about the book. Optional.
"rating": "", // Rate the book. Optional. Default: `unrated`.
"tags": "", // Add tags to categorize the book. Separate each tag with a comma. Optional.
"book-status": "", // Required. What is the status of the book? Required. Default: `want to read`.
"date": "", // Date to record the status of the book (YYYY-MM-DD). Leave blank for today. Optional.
}
}
```
Expand Down

0 comments on commit 34d05b2

Please sign in to comment.