Skip to content

feat: doc-changelog conventional commits - #515

Merged
klmcadams merged 53 commits into
mainfrom
feat/doc-changelog-cc
Aug 1, 2024
Merged

klmcadams merged 53 commits into
mainfrom
feat/doc-changelog-cc

Conversation

@klmcadams

@klmcadams klmcadams commented Jul 8, 2024 •

Copy link
Copy Markdown
Contributor

By default, the doc-changelog action will check if there is a conventional commit type in the PR title (both lowercase and uppercase types are allowed). The conventional commit type is also removed from the titles that are placed in the towncrier fragment file. For example, if you have your PR title "fix: doc-changelog issue", then the towncrier fragment file's contents will only be "doc-changelog issue"

If you want to use labels to create the changelog fragment, you have to add the use-labels: true line to the doc-changelog job.

This will break repositories until the pyproject.toml files are updated to include the additional sections listed in the doc-changelog documentation

Conventional commit tests:

Fails when there is no conventional commit type in the title
Passes when there is an all caps conventional commit type in the title
Passes when there is an all lowercase conventional commit type in the title

Labels tests:

Documentation label
Test label

@klmcadams
klmcadams requested a review from a team as a code owner July 8, 2024 14:44
@ansys-reviewer-bot

Copy link
Copy Markdown
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

Comment thread doc-changelog/action.yml Resolved
@klmcadams
klmcadams requested a review from SMoraisAnsys July 9, 2024 20:54
Comment thread doc-changelog/action.yml Resolved
Comment thread doc-changelog/action.yml Resolved
Comment thread doc-changelog/parse_pr_title.py Resolved
Comment thread doc-changelog/parse_pr_title.py Resolved
Comment thread doc-changelog/parse_pr_title.py Resolved
Comment thread doc-changelog/parse_pr_title.py Resolved
@klmcadams
klmcadams requested a review from RobPasMue July 11, 2024 19:20

@RobPasMue RobPasMue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@SMoraisAnsys
SMoraisAnsys dismissed their stale review August 1, 2024 13:09

Changes performed

…mit type (#529)

Co-authored-by: Roberto Pastor Muela <[email protected]>
Co-authored-by: Sébastien Morais <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement General improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants