changelog_check.yml 513 B

1234567891011121314151617
  1. name: Changelog
  2. on: [pull_request]
  3. jobs:
  4. check-newsfile:
  5. if: ${{ github.base_ref == 'main' || contains(github.base_ref, 'release-') }}
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v2
  9. with:
  10. fetch-depth: 0
  11. ref: ${{github.event.pull_request.head.sha}}
  12. - uses: actions/setup-python@v2
  13. with:
  14. python-version: "3.7"
  15. - run: python -m pip install towncrier
  16. - run: "scripts-dev/check_newsfragment.sh ${{ github.event.number }}"