diff --git a/.github/workflows/towncrier.yml b/.github/workflows/towncrier.yml new file mode 100644 index 000000000..84e058e4f --- /dev/null +++ b/.github/workflows/towncrier.yml @@ -0,0 +1,16 @@ +--- +name: Check PR change log + +on: + pull_request: + types: [opened, synchronize, labeled, unlabeled] + +jobs: + changelog_checker: + name: Check if towncrier change log entry is correct + runs-on: ubuntu-latest + steps: + - uses: scientific-python/action-towncrier-changelog@0.1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BOT_USERNAME: changelog-bot diff --git a/towncrier.toml b/pyproject.toml similarity index 100% rename from towncrier.toml rename to pyproject.toml