name: Check Whats News Changes
concurrency:
  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
  cancel-in-progress: true
on:
  pull_request:
    types: [ assigned, opened, synchronize, reopened, labeled, unlabeled ]
    branches:
      - '*'
jobs:
  check-whats-news:
    runs-on: ubuntu-latest
    steps:
      - uses: tarides/changelog-check-action@v3
        with:
          changelog: docs/whats_new.rst
