The last commit here fails to compile pushing it here to reference from an issue #1459
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Changelog | |
on: | |
pull_request: | |
types: [opened, reopened, labeled, unlabeled, synchronize] | |
permissions: | |
contents: read | |
jobs: | |
check-changelog: | |
runs-on: ubuntu-24.04 | |
if: (!contains(github.event.pull_request.labels.*.name, 'skip changelog')) | |
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 |