Skip to content

Commit

Permalink
Revert "ci: Clean up old release PR before creating a new one"
Browse files Browse the repository at this point in the history
This reverts commit ea2907f.
  • Loading branch information
Pr0methean committed May 12, 2024
1 parent c17b824 commit 5f44a2c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
env:
Expand Down

0 comments on commit 5f44a2c

Please sign in to comment.