library-pals/Create metadata post action

A GitHub action that creates a metadata post from data files.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-usernameThe GitHub username that owns the repository with the data files.yes
github-repositoryThe Github repository that has the data files.yes
posts-directoryThe path to where you want to save your metadata post files to in this repository.notes/_posts/
post-templateIf 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-booksDefine 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-bookmarksDefine 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-playlistDefine 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-tagsAllow specific tags to be passed through. Separate each tag with a comma.
start-dateThe start date for the post. The format is `YYYY-MM-DD`. This can be set as an action input or workflow input.
end-dateThe end date for the post. The format is `YYYY-MM-DD`. This can be set as an action input or workflow input.
post-titleThe title of the post. This can be set as an action input or workflow input.

no outputs