From 0897825f282bd7a630060da7e377c2379401f001 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 5 Feb 2024 15:05:35 +0100 Subject: [PATCH] ci: ask users to provide towncrier snippet --- .github/workflows/towncrier.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/towncrier.yml 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