Skip to content

Commit

Permalink
ci(release.yml): do not auto-create backport branches
Browse files Browse the repository at this point in the history
Having loads of backport branches causes a slowdown in semantic-release
because semantic-release checks all configured release branches to make
sure that the version it is about to release cannot also be released on
any other release branch. If so, semantic-release will refuse to create
the new release. (This is a good feature that we want to keep.)
  • Loading branch information
adrianschmidt committed Jan 30, 2025
1 parent ccf2321 commit 3ca4376
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,6 @@ jobs:
repository: Lundalogik/lime-webclient
client-payload: '{"version": "${{ steps.semantic.outputs.new_release_version }}"}'

create-backport-branch:
name: Create Backport Branch
needs: [semantic-release]
if: needs.semantic-release.outputs.new_release_published == 'true'
uses: ./.github/workflows/create-backport-branch.yml
secrets: inherit
with:
last_release_git_tag: ${{ needs.semantic-release.outputs.last_release_git_tag }}
last_release_version: ${{ needs.semantic-release.outputs.last_release_version }}
new_release_version: ${{ needs.semantic-release.outputs.new_release_version }}

docs:
needs: semantic-release
if: needs.semantic-release.outputs.new_release_published == 'true'
Expand Down

0 comments on commit 3ca4376

Please sign in to comment.