Skip to content

Conversation

@CalvinAllen
Copy link
Collaborator

Summary

  • Pass history_variable_name: 'THROWBACK_HISTORY' to track selected posts
  • Pass HISTORY_PAT secret for repository variable API access
  • Prevents the same post from being selected twice within 2 years (104 weeks)

Dependencies

Test plan

  • Merge the .github PR first
  • Create fine-grained PAT with Variables read/write permission for this repo
  • Add HISTORY_PAT secret to this repo
  • Merge this PR
  • Trigger throwback-thursday workflow via workflow_dispatch
  • Verify THROWBACK_HISTORY variable is created with the selected URL
  • Trigger again and verify a different post is selected

Pass history_variable_name and HISTORY_PAT secret to the reusable
random-blog-post-from-rss workflow to track previously selected posts
and avoid duplicates for 2 years (104 weeks).

Requires: CodingWithCalvin/.github#45
@CalvinAllen CalvinAllen force-pushed the fix/workflow/throwback-history branch from d8fa6ad to e38b1da Compare January 12, 2026 18:55
@CalvinAllen CalvinAllen merged commit c664941 into main Jan 12, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/workflow/throwback-history branch January 12, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants