Implement fetching files from XMLRPC or static directory #135
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: 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 | |
cache-dependency-path: setup.py | |
- run: pip install -e .[doc] | |
- 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" |