JasonEtco / rss-to-readme

📡📝 A GitHub Action that updates a section of a README from an RSS feed.
MIT License
223 stars 21 forks source link

Add support for `template` input #2

Closed JasonEtco closed 4 years ago

JasonEtco commented 4 years ago

This adds an input template, which takes a mustache template string. The default is unchanged, so this is an optional input.

Usage:

- uses: JasonEtco/rss-to-readme@v1
  with:
    feed-url: https://jasonet.co/rss.xml
    template: "> {{ excerpt }}\n\n[Read more!]({{ url }})"

cc @pmarsceill 👋