diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..0ebcd9a9f --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,21 @@ +name: Changelog check + +on: + pull_request: + types: [labeled, unlabeled, opened, synchronize, reopened] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + changelog: + name: Check changelog entry + runs-on: ubuntu-latest + steps: + - name: Check change log entry + uses: scientific-python/action-check-changelogfile@1fc669db9618167166d5a16c10282044f51805c0 # 0.3 + env: + CHANGELOG_FILENAME: CHANGES.rst + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CHECK_MILESTONE: false \ No newline at end of file