Skip to content

Add action to check if changelog was updated #1

Add action to check if changelog was updated

Add action to check if changelog was updated #1

name: Changelog Updated
on:
pull_request:

Check failure on line 5 in .github/workflows/changelog_updated.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/changelog_updated.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
- 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