From 21cac3c6e49a8b4f8af6c4b178758d2d2622294f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 6 Jul 2026 17:25:12 +0000 Subject: [PATCH] ci: use v5.x as default branch for workflows and releases - Update v5-tests.yml to run on push to v5.x branch - Update v5-release.yml to publish releases from v5.x branch - Update .releaserc.json to target v5.x branch for semantic versioning - Corrects workflow configuration to match repository's actual default branch --- .github/workflows/v5-release.yml | 2 +- .github/workflows/v5-tests.yml | 2 ++ .releaserc.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/v5-release.yml b/.github/workflows/v5-release.yml index a03fb44..81b3382 100644 --- a/.github/workflows/v5-release.yml +++ b/.github/workflows/v5-release.yml @@ -21,6 +21,6 @@ jobs: uses: cycjimmy/semantic-release-action@v4 with: semantic_version: 21 - branches: main + branches: v5.x env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/v5-tests.yml b/.github/workflows/v5-tests.yml index c2accb9..d106a43 100644 --- a/.github/workflows/v5-tests.yml +++ b/.github/workflows/v5-tests.yml @@ -1,6 +1,8 @@ name: "[v5] Test" on: push: + branches: + - v5.x pull_request: permissions: read-all jobs: diff --git a/.releaserc.json b/.releaserc.json index 7bf05ec..20ca35c 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,5 +1,5 @@ { - "branches": ["main"], + "branches": ["v5.x"], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator",