Skip to content

ci(workflow): add automatic cover image generation for PRs#63

Merged
CalvinAllen merged 1 commit intomainfrom
ci/workflow/generate-cover-images
Jan 30, 2026
Merged

ci(workflow): add automatic cover image generation for PRs#63
CalvinAllen merged 1 commit intomainfrom
ci/workflow/generate-cover-images

Conversation

@CalvinAllen
Copy link
Collaborator

Summary

  • Adds a new workflow that triggers on PRs modifying blog post index.md files
  • Automatically generates cover images for posts that don't have one
  • Commits the generated image back to the PR branch with [skip ci] to prevent cascading builds
  • Posts a comment on the PR with embedded preview of the generated cover image(s)

Test plan

  • Create a PR with a new blog post without a cover image
  • Verify the workflow generates a cover and commits it
  • Verify the PR comment shows the generated cover preview
  • Verify existing posts with covers are skipped

Add workflow that triggers on PRs modifying blog posts to automatically
generate cover images for posts that don't have one. The generated image
is committed back to the PR branch and a comment is posted showing the
preview.
@CalvinAllen CalvinAllen merged commit 27d4a7a into main Jan 30, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the ci/workflow/generate-cover-images branch January 30, 2026 16:09
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.

1 participant