library-pals/Create metadata post action
A GitHub action that creates a metadata post from data files.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-username | The GitHub username that owns the repository with the data files. | yes | — |
| github-repository | The Github repository that has the data files. | yes | — |
| posts-directory | The path to where you want to save your metadata post files to in this repository. | — | notes/_posts/ |
| post-template | If you'd like to customize the [markdown template](src/template.md), define a path to your own. Example: `post-template: .github/actions/post-template.md`. The markdown template shows all the available variables and an idea for how you may want to format this file. For now, the templating is simplistic and does not offer functionality outside of this action replacing variable names. | — | — |
| source-books | Define the label and file path for the books data generated by [read-action](https://github.com/katydecorah/read-action). Separate the label and file path with a pipe (`|`). If you do not have books, set this value to `false`. Note: this value will **not** change the variable name in the markdown template, which is `bookYaml` and `bookMarkdown`. | — | books|_data/read.json |
| source-bookmarks | Define the label and file path for the bookmarks data generated by [bookmark-action](https://github.com/katydecorah/bookmark-action). Separate the label and file path with a pipe (`|`). If you do not have bookmarks, set this value to `false`. Note: this value will **not** change the variable name in the markdown template, which is `bookmarkYaml` and `bookmarkMarkdown`. | — | bookmarks|_data/bookmarks.json |
| source-playlist | Define the file path for the playlist data generated by [spotify-to-yaml-action](https://github.com/katydecorah/spotify-to-yaml-action). If you do not have playlists, set this value to `false`. | — | _data/playlists.yml |
| book-tags | Allow specific tags to be passed through. Separate each tag with a comma. | — | — |
| start-date | The start date for the post. The format is `YYYY-MM-DD`. This can be set as an action input or workflow input. | — | — |
| end-date | The end date for the post. The format is `YYYY-MM-DD`. This can be set as an action input or workflow input. | — | — |
| post-title | The title of the post. This can be set as an action input or workflow input. | — | — |
Outputs
no outputs