Latest blog post workflow #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Latest blog post workflow | |
| on: | |
| schedule: | |
| # Runs once every hour | |
| - cron: '0 * * * *' | |
| workflow_dispatch: | |
| jobs: | |
| update-readme-with-blog: | |
| name: Update this repo's README with latest blog posts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Pull in medium posts | |
| uses: gautamkrishnar/blog-post-workflow@v1 | |
| with: | |
| feed_list: "https://medium.com/feed/@vishalgunjal" | |
| max_post_count: 5 | |
| # 👇 STANDARD TEMPLATE (Produces a clean list) | |
| template: "$newline- 📝 [$title]($url) — $date" | |
| # 👇 ROBUST DATE FORMAT (e.g., "16 Jan 2026") | |
| date_format: "dd mmm yyyy" | |
| commit_message: "docs: update readme with correct date format" |