File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,13 +48,15 @@ jobs:
4848 needs : check-fork
4949 steps :
5050 - uses : actions/checkout@v4
51+ with :
52+ fetch-depth : 0
53+ - uses : actions/setup-python@v5
54+ with :
55+ python-version : " 3.14"
56+ - uses : astral-sh/setup-uv@v5
57+ - run : uv sync --dev
5158 - name : Check for changelog fragment
52- run : |
53- FRAGMENTS=$(find changelog.d -type f ! -name '.gitkeep' | wc -l)
54- if [ "$FRAGMENTS" -eq 0 ]; then
55- echo "::error::No changelog fragment in changelog.d/"
56- exit 1
57- fi
59+ run : uv run towncrier check --compare-with origin/main
5860
5961 unit-tests :
6062 runs-on : ubuntu-latest
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ Fix the PR changelog fragment check to validate fragments added by the pull request rather than pre-existing files.
You can’t perform that action at this time.
0 commit comments