From 7ebfb488238864e66b44a49dcfcdf96e215949b6 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Sat, 31 Jan 2026 18:03:15 +1000 Subject: [PATCH] fix(ci): incorrect configuration tag for changelog generator (#7054) --- .github/workflows/nightly.yml | 11 ++++++++++- .github/workflows/release-drafter.yml | 4 +++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 2a23c9209..e6e6de93c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -101,7 +101,7 @@ jobs: id: build_changelog uses: mikepenz/release-changelog-builder-action@v4 with: - configuration: | + configurationJson: | { "categories": [ { @@ -163,10 +163,12 @@ jobs: "label_extractor": [ { "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([^)]+\\))?(!)?:", + "on_property": "title", "target": "$1" }, { "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\\(([^)]+)\\)", + "on_property": "title", "target": "scope:$2" } ] @@ -183,6 +185,13 @@ jobs: git tag -f nightly git push -f origin nightly + - name: Delete previous nightly release + run: | + # Delete the existing nightly release to avoid accumulating assets + gh release delete nightly --yes || true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Deploy nightly release uses: softprops/action-gh-release@v2 with: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 5aab366d7..5b5b2dea3 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -190,7 +190,7 @@ jobs: id: build_changelog uses: mikepenz/release-changelog-builder-action@v4 with: - configuration: | + configurationJson: | { "categories": [ { @@ -252,10 +252,12 @@ jobs: "label_extractor": [ { "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([^)]+\\))?(!)?:", + "on_property": "title", "target": "$1" }, { "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\\(([^)]+)\\)", + "on_property": "title", "target": "scope:$2" } ],