Skip to content

⬆️ Bump ossf/scorecard-action from 2.3.0 to 2.4.0 #395

⬆️ Bump ossf/scorecard-action from 2.3.0 to 2.4.0

⬆️ Bump ossf/scorecard-action from 2.3.0 to 2.4.0 #395

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@8ade135a41bc03ea155e62e844d188df1ea18608"
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