Skip to content

Load built-in signatures #73

Load built-in signatures

Load built-in signatures #73

name: newsfragment_checker
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.9
cache: pip
- run: pip install .[changelog]
- name: get added newsfragments
if: ( ! contains(github.event.pull_request.labels.*.name, 'no changelog') )
run: towncrier check --compare-with origin/main
- name: Print result
run: echo "Newsfragment added"