Skip to content

Run branch

Run branch #290

# This GitHub Action checks for new news fragments in a pull request.
# If no new news fragments are found, the action will fail.
name: News Fragments Created
on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
jobs:
build:
name: Check for new news fragments
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install towncrier
run: |
$CONDA/bin/conda install -c conda-forge towncrier -y
- name: Run towncrier check command
run: |
$CONDA/bin/towncrier check --compare-with origin/develop --config pyproject.toml