From 00c11580ec653e33fe80af5e440a168ca3c96b29 Mon Sep 17 00:00:00 2001
From: "Austin S. Hemmelgarn" <austin@netdata.cloud>
Date: Wed, 19 Mar 2025 09:36:55 -0400
Subject: [PATCH] Remove auto-retry on changelog generation. (#19908)

This appears to not play nice with the changelog generation action we
use, so just remove it for now.
---
 .github/workflows/release.yml | 46 +++++++++++++++--------------------
 1 file changed, 19 insertions(+), 27 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9e1213b868..91f2d5493c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -46,38 +46,30 @@ jobs:
       - name: Generate Nightly Changleog
         id: nightly-changelog
         if: steps.target.outputs.run == 'true' && steps.target.outputs.type == 'nightly'
-        uses: Wandalen/wretry.action@v3
+        uses: heinrichreimer/github-changelog-generator-action@v2.4
         with:
-          action: heinrichreimer/github-changelog-generator-action@v2.4
-          attempt_limit: 3
-          attempt_delay: 60
-          with: |
-            bugLabels: IGNOREBUGS
-            excludeLabels: "stale,duplicate,question,invalid,wontfix,discussion,no changelog"
-            issues: false
-            sinceTag: v1.10.0
-            token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
-            unreleasedLabel: "**Next release**"
-            verbose: true
-            maxIssues: 500
+          bugLabels: IGNOREBUGS
+          excludeLabels: "stale,duplicate,question,invalid,wontfix,discussion,no changelog"
+          issues: false
+          sinceTag: v1.10.0
+          token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
+          unreleasedLabel: "**Next release**"
+          verbose: true
+          maxIssues: 500
       - name: Generate Release Changelog
         id: release-changelog
         if: steps.target.outputs.run == 'true' && steps.target.outputs.type != 'nightly'
-        uses: Wandalen/wretry.action@v3
+        uses: heinrichreimer/github-changelog-generator-action@v2.4
         with:
-          action: heinrichreimer/github-changelog-generator-action@v2.4
-          attempt_limit: 3
-          attempt_delay: 60
-          with: |
-            bugLabels: IGNOREBUGS
-            excludeLabels: "stale,duplicate,question,invalid,wontfix,discussion,no changelog"
-            futureRelease: ${{ github.event.inputs.version }}
-            issues: false
-            sinceTag: v1.10.0
-            token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
-            unreleasedLabel: "**Next release**"
-            verbose: true
-            maxIssues: 500
+          bugLabels: IGNOREBUGS
+          excludeLabels: "stale,duplicate,question,invalid,wontfix,discussion,no changelog"
+          futureRelease: ${{ github.event.inputs.version }}
+          issues: false
+          sinceTag: v1.10.0
+          token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
+          unreleasedLabel: "**Next release**"
+          verbose: true
+          maxIssues: 500
       - name: Commit Changes
         id: commit
         if: steps.target.outputs.run == 'true'