Repository navigation
Adapt the link mention in the linkedin post content depending on the presence of paper in the PR - #61
Merged
Merged
Conversation
A merged pull request that added papers keeps "Added to goldener-research in: <url>"; one that added none now gets "Triggered by merging: <url>", since its post is about a random paper of the bibliography. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
No issues found across 1 file
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
View guided diff | Turn on auto-fix | Re-trigger cubic
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.
When the LinkedIn post workflow is triggered by a merged pull request, the line mentioning the pull request was always
`Added to goldener-research in: `, even when the pull request added no paper (and the post was then about a random
paper of the bibliography).
`TRIGGER_LINE` through `GITHUB_ENV`:
Tested by running the step's Python locally with and without an added paper, and the YAML parses.
🤖 Generated with Claude Code
Summary by cubic
When a merged pull request triggers the LinkedIn post workflow, the line mentioning the pull request now depends on whether the pull request added papers.
<url>" when the pull request added at least one paper; "Triggered by merging:<url>" when it added none, since the post is then about a random paper of the bibliography.Choose the paperstep setsTRIGGER_LINEviaGITHUB_ENV, replacing the fixed value in the job environment; the prompt andCheck the poststep are unchanged.Written for commit f6f7e62. Summary will update on new commits.