From 540b0d247f3efea9eb95d57a8501cfb96538a008 Mon Sep 17 00:00:00 2001 From: schneems Date: Tue, 8 Oct 2019 11:59:52 -0500 Subject: [PATCH] [ci skip] check changelog entry --- .github/workflows/check_changelog.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/check_changelog.yml diff --git a/.github/workflows/check_changelog.yml b/.github/workflows/check_changelog.yml new file mode 100644 index 000000000..64f4f2bd0 --- /dev/null +++ b/.github/workflows/check_changelog.yml @@ -0,0 +1,12 @@ +name: Check Changelog + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Check that CHANGELOG is touched + run: | + cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '\[\(\(changelog skip\)\|\(ci skip\)\)\]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md