Skip to content

Bump actions/checkout from 3 to 4 #301

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #301

Workflow file for this run

name: Check Changelog
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
permissions:
contents: read
jobs:
check-changelog:
runs-on: ubuntu-22.04
if: |
!contains(github.event.pull_request.labels.*.name, 'skip changelog') &&
!contains(github.event.pull_request.labels.*.name, 'dependencies')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check that CHANGELOG is touched
run: |
git fetch origin ${{ github.base_ref }} --depth 1 && \
git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md