Skip to content

Commit bbd5d11

Browse files
Improve comments in blog post workflow YAML
Updated comments for clarity and best practices in the blog post workflow configuration.
1 parent 974ead6 commit bbd5d11

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/blog-post-workflow.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ name: Latest blog post workflow
3131

3232
on:
3333
schedule:
34-
# Runs once every hour
34+
# Runs once every hour (Best practice for active profiles)
3535
- cron: '0 * * * *'
36+
# Allows manual trigger for immediate updates
3637
workflow_dispatch:
3738

3839
jobs:
@@ -48,11 +49,11 @@ jobs:
4849
with:
4950
feed_list: "https://medium.com/feed/@vishalgunjal0287"
5051
max_post_count: 5
51-
# The template for the link
52+
# Template: 📝 [Title](Link) — Date
5253
template: "$newline- 📝 [$title]($url) — $date"
53-
# 👇 FIXED DATE FORMAT
54-
# 'mmm' = Jan, Feb, Mar (Month Name)
55-
# 'd' = 16 (Day)
56-
# 'yyyy'= 2026 (Year)
54+
# Date Format: "Jan 16, 2026"
55+
# 'mmm' = Short Month (Jan)
56+
# 'd' = Day (16)
57+
# 'yyyy'= Year (2026)
5758
date_format: "mmm d, yyyy"
5859
commit_message: "docs: update readme with latest medium posts"

0 commit comments

Comments
 (0)