Improve async body iter #532
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 | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, synchronize] | |
permissions: "read-all" | |
jobs: | |
check-changelog-entry: | |
name: changelog entry | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repository" | |
uses: "actions/checkout@d632683dd7b4114ad314bca15554477dd762a938" | |
with: | |
# `towncrier check` runs `git diff --name-only origin/main...`, which | |
# needs a non-shallow clone. | |
fetch-depth: 0 | |
- name: "Check changelog" | |
if: "!contains(github.event.pull_request.labels.*.name, 'Skip Changelog')" | |
run: | | |
if ! pipx run towncrier check --compare-with origin/${{ github.base_ref }}; then | |
echo "Please see https://github.com/urllib3/urllib3/blob/main/changelog/README.rst for guidance." | |
false | |
fi |