Repository navigation
Adding PR#s in towncrier #580
Answered
by
adiroiban
shaunporwal
asked this question in
Q&A
|
Hi! Thanks for this tool, been using it for my python projects and it's much better than recording changes manually! Is there some way to automatically add a PR # to the towncrier newsfragments after they form the changelog.md? Perhaps this is something to be done using CI/CD GitHub actions? I know that issue number is included as the integer that is the prefix of the news fragment. |
Answered by
adiroiban
Mar 27, 2024
Replies: 1 comment 3 replies
|
Hi. Thanks for the report. I don't understand the use case or what is required here. Can you please provide a step by step description of what you want do , what are your manual steps and what are the steps that you expect towncrier to automaticaly do. Cheers |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the PR is not created yet... then we don't know the PR ID
Maybe some convention like
create -c 'message' 1234-5678.typewhere 1234 is the Issue ID and 5678 is the PR ID ... but you will have to add custom code for supporting this use caseMost of the time, I create the towncrier info before creating the PR.
And, if in the PR description you add
Fixes #1234you will see a link to the PR from the Issue page.