From c3467313e54b958fc36e01aa4330baed796c0af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 27 Mar 2020 18:40:25 +0100 Subject: [PATCH 1/2] Add a CHANGELOG to help the documentation follow the engine udpates --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..dbee7cfb9 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +## 0.9.1 (unreleased) + + - Add the number of hits in search result (#541) + - Add support for aligned crop in search result (#543) + - Sanitize the content displayed in the web interface (#539) From 227bc716d898124e88e8bbe77c81d709c329dd8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 27 Mar 2020 18:44:19 +0100 Subject: [PATCH 2/2] Add a Github Action to ensure the CHANGELOG is updated in PRs --- .github/workflows/check-updated-changelog.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/check-updated-changelog.yml diff --git a/.github/workflows/check-updated-changelog.yml b/.github/workflows/check-updated-changelog.yml new file mode 100644 index 000000000..eb88f9108 --- /dev/null +++ b/.github/workflows/check-updated-changelog.yml @@ -0,0 +1,15 @@ +name: Check if the CHANGELOG.md has been updated + +on: [pull_request] + +jobs: + check: + name: Test on ${{ matrix.os }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Checking the CHANGELOG.md has been updated in this PR + run: | + set -e + git fetch origin ${{ github.base_ref }} + git diff --name-only origin/${{ github.base_ref }} | grep -q CHANGELOG.md