Skip to content

Commit 35748f8

Browse files
Add GitHub Actions workflow for blog post updates
1 parent c03931d commit 35748f8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 (Produces a clean list)
24+
template: "$newline- 📝 [$title]($url) — $date"
25+
26+
# 👇 ROBUST DATE FORMAT (e.g., "16 Jan 2026")
27+
date_format: "dd mmm yyyy"
28+
29+
commit_message: "docs: update readme with correct date format"

0 commit comments

Comments
 (0)