name: Hashnode Blog Posts on: schedule: # Runs every 6 hours of the day - cron: '0 */6 * * *' workflow_dispatch:
jobs: update-readme-with-blog: name: Update this repo's README with the latest blog posts runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: gautamkrishnar/blog-post-workflow@master with: comment_tag_name: "BLOGPOSTS" feed_list: "https://ellykiplaa.me/rss.xml" template: "$newline - $randomEmoji(๐ฏ,๐ฅ,๐ซ,๐,๐ฎ) $title" commit_message: "recent posts section updated" gh_token: ${{ secrets.GITHUB_TOKEN }}