Skip to content

Commit

Permalink
Towncrier: run draft build as part of fast tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Jul 24, 2023
1 parent c316f26 commit 73bcdcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jobs:
- name: Configure git # Needed by the odd test
uses: cylc/release-actions/configure-git@v1

- name: Check changelog
if: startsWith(matrix.os, 'ubuntu')
run: towncrier build --draft

- name: Style
if: startsWith(matrix.os, 'ubuntu')
run: |
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ issue_format = "[#{issue}](https://github.com/cylc/cylc-flow/pull/{issue})"
# These changelog sections will be shown in the defined order:
[[tool.towncrier.type]]
directory = "break" # NB this is just the filename not directory e.g. 123.break.md
name = "Breaking Changes"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "feat"
name = "Enhancements"
name = "🚀 Enhancements"
showcontent = true
[[tool.towncrier.type]]
directory = "fix"
name = "Fixes"
name = "🔧 Fixes"
showcontent = true

0 comments on commit 73bcdcc

Please sign in to comment.