Repository navigation
feat: allow doc-changelog to select Towncrier config file - #1567
Conversation
Co-authored-by: Copilot <[email protected]>
SMoraisAnsys
left a comment
There was a problem hiding this comment.
LGTM. Since we don't test the use of towncrier.toml in our CI, could you check that the changes work in a test repo ?
Co-authored-by: Copilot <[email protected]>
clatapie
left a comment
There was a problem hiding this comment.
LGTM with the same test question as @SMoraisAnsys
klmcadams
left a comment
There was a problem hiding this comment.
LGTM with same testing comment as @SMoraisAnsys & @clatapie
|
Have we finally performed the testing on this PR? Just wondering if we can merge it |
Co-authored-by: Copilot <[email protected]>
|
Thanks @SMoraisAnsys. I tested this in a sandbox repo (https://github.com/jorgepiloto/test-doc-changelog, one PR per scenario):
On the |
SMoraisAnsys
left a comment
There was a problem hiding this comment.
Thanks for the extra tests
|
Thank you all for the review |
Co-authored-by: Copilot <[email protected]> Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Sébastien Morais <[email protected]>
This change adds a
config-fileinput toansys/actions/doc-changelogso maintainers can choose which Towncrier config file to use. The action now defaults topyproject.toml, supportstowncrier.tomlwhen explicitly set, and fails with a clear error if the selected file or[tool.towncrier]section is missing.It also wires the selected config file through both Towncrier config-reading steps and updates the usage example. Closes #952.