Repository navigation
Enhance PDF workflow: PR preview, commit PDF to repo, better validation - #10
Merged
Merged
Conversation
- Trigger on pull_request in addition to push to main - Consolidate metadata validation into a single step with clear error messages - Add PR comment with link to download the generated PDF artifact - Update artifact name from "PDF and info.txt" to "paper" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
On push to main, the workflow now commits paper.pdf to the repo so users always have the latest PDF available without downloading artifacts. Uses [skip ci] to prevent infinite loop. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pull_requesttomain, so authors can preview PDFs before mergingmain, the generatedpaper.pdfis committed back to the repository so it's always available atpaper/paper.pdfwithout needing to download artifacts (uses[skip ci]to prevent infinite loop)sed | grepsteps into one validation step with clear error messages listing all missing fields at once, with a link to the submitter guideBefore
After
paper.pdfto repopaper/paper.pdfTest plan
paper.pdfback to the repo[skip ci]prevents infinite workflow loop🤖 Generated with Claude Code