Skip to content

Commit

Permalink
Add a changelog checker and a Github CI for it
Browse files Browse the repository at this point in the history
  • Loading branch information
tadzik committed Jul 28, 2021
1 parent 925c71e commit a5bc15a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.6
- run: scripts/changelog-check.sh
3 changes: 3 additions & 0 deletions scripts/changelog-check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
pip3 install towncrier==19.2.0
python3 -m towncrier.check --compare-with=origin/develop

0 comments on commit a5bc15a

Please sign in to comment.