hooks: add hook for setuptools_scm #656
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Validate news entries | |
on: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate new news items | |
run: python scripts/verify-news-fragments.py | |
- name: Install towncrier | |
run: pip install -qU setuptools wheel towncrier | |
- name: Run towncrier | |
run: towncrier --draft |