From 03931cb2961dbaad43aebce8c034cfb43816ee07 Mon Sep 17 00:00:00 2001 From: vorillaz Date: Mon, 20 Apr 2026 00:54:09 +0300 Subject: [PATCH 1/2] fix(release): serialize group1 and font to avoid race on main --- .github/workflows/release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f383913a..5181f881 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,13 @@ permissions: pull-requests: write # semantic-release PR comments id-token: write # npm provenance via OIDC +# Serialize release runs per-branch. If two PRs merge to main back-to-back, +# we queue rather than race — two parallel runs would both try to commit the +# release notes/version bump and one would fail with "local branch behind". +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: false + jobs: group1: name: Release Group 1 (core/react/vue/svelte) @@ -74,12 +81,19 @@ jobs: font: name: Release devicons (font) + # Serialize after group1 so both jobs don't race on `@semantic-release/git` + # pushing to main. Without this, whichever finishes second sees + # "local branch main is behind the remote" and bails. + needs: group1 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: true + # group1 just pushed its release commit to main; make sure we + # check out the latest tip so semantic-release sees it. + ref: ${{ github.ref }} - uses: pnpm/action-setup@v4 with: version: 10.10.0 From 9ed3a3454ec7c95b20dd2cb3f92fbe00e0ef00de Mon Sep 17 00:00:00 2001 From: vorillaz Date: Mon, 20 Apr 2026 01:02:01 +0300 Subject: [PATCH 2/2] fix(icons): toggle icon for release --- packages/core/export-files/icons/nodejs.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/export-files/icons/nodejs.svg b/packages/core/export-files/icons/nodejs.svg index 83dcdb09..39fef73e 100644 --- a/packages/core/export-files/icons/nodejs.svg +++ b/packages/core/export-files/icons/nodejs.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file