Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions nf_core/pipelines/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,12 @@ def make_pull_request(self):
log.info("Submitting a pull request via the GitHub API")

pr_title = f"Important! Template update for nf-core/tools v{nf_core.__version__}"
blog_post_sentence = (
f"For more details, check out the blog post: {self.blog_post}" if self.blog_post != "" else ""
)
pr_body_text = (
"Version `{tag}` of [nf-core/tools](https://github.com/nf-core/tools) has just been released with updates to the nf-core template. "
f"For more details, check out the blog post: {self.blog_post}\n\n"
if self.blog_post != ""
else ""
f"{blog_post_sentence}\n\n"
"Please make sure to merge this pull-request as soon as possible, "
f"resolving any merge conflicts in the `{self.merge_branch}` branch (or your own fork, if you prefer). "
"Once complete, make a new minor release of your pipeline.\n\n"
Expand Down
Loading