From 7e66464909c0fdac21440929a87cf19e8c8225e1 Mon Sep 17 00:00:00 2001 From: gardar Date: Fri, 24 May 2024 20:18:39 +0000 Subject: [PATCH 1/2] fix: make sure antsibull-changelog doesn't offend ansible-lint Signed-off-by: gardar --- .github/workflows/release.yml | 2 +- changelogs/config.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e718c8c0d..3072370f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: "Install tools" - run: "python -m pip install ansible-base antsibull-changelog --disable-pip-version-check" + run: "python -m pip install ansible-base git+https://github.com/gardar/antsibull-changelog@gardar/main --disable-pip-version-check" - name: "Calculate next version" id: version diff --git a/changelogs/config.yaml b/changelogs/config.yaml index f644f3871..770280c27 100644 --- a/changelogs/config.yaml +++ b/changelogs/config.yaml @@ -31,3 +31,5 @@ sections: title: Prometheus.Prometheus trivial_section_name: trivial use_fqcn: true +changelog_nice_yaml: true +changelog_semantic_versioning_sort: true From 81fb097b1ba881f4ea19fcfd5e7d5c30c33699e8 Mon Sep 17 00:00:00 2001 From: gardar Date: Wed, 19 Jun 2024 22:01:50 +0000 Subject: [PATCH 2/2] fix: formatting fixes have been merged in antsibull-changelog upstream Signed-off-by: gardar --- .github/workflows/release.yml | 2 +- changelogs/config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3072370f4..a5c2a9e95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: "Install tools" - run: "python -m pip install ansible-base git+https://github.com/gardar/antsibull-changelog@gardar/main --disable-pip-version-check" + run: "python -m pip install --upgrade ansible-base antsibull-changelog --disable-pip-version-check" - name: "Calculate next version" id: version diff --git a/changelogs/config.yaml b/changelogs/config.yaml index 770280c27..dbe4d1b03 100644 --- a/changelogs/config.yaml +++ b/changelogs/config.yaml @@ -32,4 +32,4 @@ title: Prometheus.Prometheus trivial_section_name: trivial use_fqcn: true changelog_nice_yaml: true -changelog_semantic_versioning_sort: true +changelog_sort: "version_reversed"