Skip to content

Commit 0c3bbcb

Browse files
chore: fix release notes PR classification (#4194)
* feat: enable use of conventional commits for PR title labeling * fix: swap directory names for towncrier types 'Miscellaneous' and 'Documentation' * chore: adding changelog file 4194.maintenance.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent aa6306e commit 0c3bbcb

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/label.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,5 @@ jobs:
131131
with:
132132
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
133133
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
134-
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
134+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
135+
use-conventional-commits: true # To use the PR title instead of PR labels
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix release notes PR classification

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,13 @@ name = "Dependencies"
287287
showcontent = true
288288

289289
[[tool.towncrier.type]]
290-
directory = "miscellaneous"
291-
name = "Miscellaneous"
290+
directory = "documentation"
291+
name = "Documentation"
292292
showcontent = true
293293

294294
[[tool.towncrier.type]]
295-
directory = "documentation"
296-
name = "Documentation"
295+
directory = "miscellaneous"
296+
name = "Miscellaneous"
297297
showcontent = true
298298

299299
[[tool.towncrier.type]]

0 commit comments

Comments
 (0)