From ba5cf9cd3cc6c3fd0e3adf35dcd924e87bd40fb1 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Fri, 16 Jan 2026 21:47:40 +0100 Subject: [PATCH] night build script updates Fixes some deprecation warnings during nightly build runs. Already tested in WLED-MM. * upgrade action-github-changelog-generator to 2.4 * decode changelog into a temporary file (needed for changelog-generator 2.4) * renamed exclude-labels (deprecated); added some more tags for filtering --- .github/workflows/nightly.yml | 7 ++++--- .github/workflows/release.yml | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index ce35140b..60dd4d5d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -23,12 +23,13 @@ jobs: run: ls -la - name: "✏️ Generate release changelog" id: changelog - uses: janheinrichmerker/action-github-changelog-generator@v2.3 + uses: janheinrichmerker/action-github-changelog-generator@v2.4 with: token: ${{ secrets.GITHUB_TOKEN }} sinceTag: v0.15.0 + output: CHANGELOG_NIGHTLY.md # Exclude issues that were closed without resolution from changelog - exclude-labels: 'stale,wontfix,duplicate,invalid' + excludeLabels: 'stale,wontfix,duplicate,invalid,question,use-as-is,not_planned' - name: Update Nightly Release uses: andelf/nightly-release@main env: @@ -37,7 +38,7 @@ jobs: tag_name: nightly name: 'Nightly Release $$' prerelease: true - body: ${{ steps.changelog.outputs.changelog }} + body_path: CHANGELOG_NIGHTLY.md files: | *.bin *.bin.gz diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3b902dd..1fcea1ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,13 +20,13 @@ jobs: merge-multiple: true - name: "✏️ Generate release changelog" id: changelog - uses: janheinrichmerker/action-github-changelog-generator@v2.3 + uses: janheinrichmerker/action-github-changelog-generator@v2.4 with: token: ${{ secrets.GITHUB_TOKEN }} sinceTag: v0.15.0 maxIssues: 500 # Exclude issues that were closed without resolution from changelog - exclude-labels: 'stale,wontfix,duplicate,invalid' + excludeLabels: 'stale,wontfix,duplicate,invalid,question,use-as-is,not_planned' - name: Create draft release uses: softprops/action-gh-release@v1 with: