From f19c6a5ffc8d0a477497f6e813cc02ff39806565 Mon Sep 17 00:00:00 2001 From: CybAtax <62847599+CybAtax@users.noreply.github.com> Date: Sat, 25 May 2024 23:39:56 +0200 Subject: [PATCH] Migrate changelog file format Signed-off-by: CybAtax <62847599+CybAtax@users.noreply.github.com> --- .github/workflows/changelog.yml | 4 ++-- CHANGELOG.adoc | 1 + CHANGELOG.md | 1 - config/labeler.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 CHANGELOG.adoc delete mode 100644 CHANGELOG.md diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index f2766ac..474fe8c 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -24,12 +24,12 @@ jobs: uses: tj-actions/changed-files@v44 with: files: src/**/* - - name: Verify CHANGELOG.md modifications + - name: Verify cCHANGELOG.adochangelog modifications id: changed-changelog-md if: steps.changed-src-files.outputs.any_changed == 'true' uses: tj-actions/changed-files@v44 with: - files: CHANGELOG.md + files: CHANGELOG.adoc - name: Fail if changelog was not modified if: steps.changed-changelog-md.outputs.any_changed == 'false' run: exit 1 diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc new file mode 100644 index 0000000..825c32f --- /dev/null +++ b/CHANGELOG.adoc @@ -0,0 +1 @@ +# Changelog diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 5ddad42..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1 +0,0 @@ -# Changelog \ No newline at end of file diff --git a/config/labeler.yml b/config/labeler.yml index 1813207..b4307fd 100644 --- a/config/labeler.yml +++ b/config/labeler.yml @@ -6,7 +6,7 @@ documentation: - changed-files: - any-glob-to-any-file: - docs/** - - CHANGELOG.md + - CHANGELOG.adoc - LICENSE.txt - README.adoc