Add action to check if changelog was updated #1
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: Changelog Updated | ||
on: | ||
pull_request: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
- name: Check if CHANGELOG.md was changed | ||
run: ! git diff --name-only --exit-code HEAD^1 HEAD CHANGELOG.md |