Eliminate legacy interface and obsolete large_data option #225
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-changelog | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
check-changelog-entry: | |
if: "!contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout PR branch | |
uses: actions/checkout@v3 | |
- name: Find changelog entry | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
run: | | |
if compgen -G "docs/changes/$PR_NUMBER.*.rst"; then | |
echo "changelog exists" | |
else | |
echo "changelog entry not found" | |
exit 1 | |
fi |