From 5f44a2c3ed5404aae25d5c4e2b439c6789efdd21 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Sun, 12 May 2024 11:25:15 -0700 Subject: [PATCH] Revert "ci: Clean up old release PR before creating a new one" This reverts commit ea2907fb9b9887dba02bab312d7c421f448271a3. --- .github/workflows/release-plz.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 65e7b9a6..52919860 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -21,14 +21,6 @@ jobs: toolchain: nightly override: true profile: minimal - - name: Close old release PR - run: | - # List all opened PRs which head branch starts with "release-plz-" - release_pr=$(gh pr list --state='open' --json number,headRefName --jq '.[] | select(.headRefName | startswith("release-plz-")) | .number') - # Close the release PR if there is one - if [[ -n "release_pr" ]]; then - gh pr close $release_pr - fi - name: Run release-plz uses: MarcoIeni/release-plz-action@v0.5 env: