Skip to content

chore(deps): Bump actions/checkout from 5.0.0 to 6.0.1 #758

chore(deps): Bump actions/checkout from 5.0.0 to 6.0.1

chore(deps): Bump actions/checkout from 5.0.0 to 6.0.1 #758

Workflow file for this run

name: Check news file
on:
pull_request:
types: [labeled, unlabeled, opened, reopened, synchronize]
permissions: {}
jobs:
check-news-entry:
name: news entry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
# `towncrier check` runs `git diff --name-only origin/main...`, which
# needs a non-shallow clone.
fetch-depth: 0
- name: Check news entry
if: "!contains(github.event.pull_request.labels.*.name, 'skip news')"
run: |
pipx run towncrier check --compare-with "origin/${BASE_REF}"
env:
BASE_REF: ${{ github.base_ref }}