on master help sign in
Added changelog check
commit14fe2deba75cc041aa7f57c8e9b44da122dac400 authoriko <ilyakooo0@gmail.com> dateMon 17 Jan 2022, 10:06 (5 years ago) parent9a0d175
1 file changed+8
.github/workflows/github-actions-image.yaml+8
.github/workflows/github-actions-image.yaml+8
@@ -72,6 +72,14 @@ jobs:
7272 exit 1
7373 fi
7474
75+ - name: Check changelog
76+ if: github.event_name == 'release'
77+ run: |
78+ if [ ! grep '^## ${{ github.event.release.tag_name }}$' CHANGELOG.md ]; then
79+ echo "::error file=CHANGELOG.md::CHANGELOG.md does not contain an entry for this release."
80+ exit 1
81+ fi
82+
7583 Linux:
7684 needs: check_versions
7785 runs-on: ubuntu-latest