hooks: update falcon hook for compatibility with falcon v4.0.0 #693
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: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- 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 |