Skip to content

Improve async body iter #532

Improve async body iter

Improve async body iter #532

Workflow file for this run

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