Skip to content

Commit

Permalink
Add Github action for towncrier
Browse files Browse the repository at this point in the history
Checks if either a change file has been added or changelog has been changed (in case of release)
  • Loading branch information
johannaengland committed Apr 30, 2024
1 parent 712d049 commit 22c0312
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/towncrier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check for changelog file

on: [pull_request]

jobs:
towncrier:
runs-on: ubuntu-latest
name: Towncrier check
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install towncrier
run: |
pip install -U pip
pip install towncrier
- name: Check for changelog file
run: towncrier check --compare-with origin/master

0 comments on commit 22c0312

Please sign in to comment.