Skip to content

Commit c8117be

Browse files
Add blog post workflow for README updates
1 parent b96670d commit c8117be

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Latest blog post workflow
2+
3+
on:
4+
schedule:
5+
# Runs once every hour
6+
- cron: '0 * * * *'
7+
workflow_dispatch:
8+
9+
jobs:
10+
update-readme-with-blog:
11+
name: Update this repo's README with latest blog posts
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Pull in medium posts
18+
uses: gautamkrishnar/blog-post-workflow@v1
19+
with:
20+
feed_list: "https://medium.com/feed/@vishalgunjal"
21+
max_post_count: 5
22+
23+
# 👇 STANDARD TEMPLATE (No custom JS)
24+
template: "$newline- 📝 [$title]($url) — $date"
25+
26+
# 👇 ROBUST FORMAT: "16 Jan 2026"
27+
# This uses the internal library's standard mask
28+
date_format: "dd mmm yyyy"
29+
30+
commit_message: "docs: fixed date format to standard string"

0 commit comments

Comments
 (0)