From 932b9095607ee51bbb6cbd44849c2ba13108c797 Mon Sep 17 00:00:00 2001 From: Brett Graham Date: Fri, 8 Sep 2023 15:59:50 -0400 Subject: [PATCH] Merge pull request #1639 from asdf-format/dependabot/github_actions/main/actions/checkout-4 Bump actions/checkout from 3 to 4 --- .github/workflows/changelog.yml | 12 +++++++----- .github/workflows/s390x.yml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index e6a61e0fd..9e949e086 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -17,8 +17,10 @@ jobs: name: Confirm changelog entry runs-on: ubuntu-latest steps: - - name: Check change log entry - uses: scientific-python/action-check-changelogfile@6087eddce1d684b0132be651a4dad97699513113 # 0.2 - env: - CHANGELOG_FILENAME: CHANGES.rst - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Grep for PR number in CHANGES.rst + run: grep -P '\[[^\]]*#${{github.event.number}}[,\]]' CHANGES.rst + if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }} diff --git a/.github/workflows/s390x.yml b/.github/workflows/s390x.yml index ac3bb355a..c7795375c 100644 --- a/.github/workflows/s390x.yml +++ b/.github/workflows/s390x.yml @@ -37,7 +37,7 @@ jobs: - arch: s390x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true