mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-07-17 01:39:20 +00:00
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
This commit is contained in:
2
.github/workflows/v5-release.yml
vendored
2
.github/workflows/v5-release.yml
vendored
@@ -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 }}
|
||||
|
||||
2
.github/workflows/v5-tests.yml
vendored
2
.github/workflows/v5-tests.yml
vendored
@@ -1,6 +1,8 @@
|
||||
name: "[v5] Test"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v5.x
|
||||
pull_request:
|
||||
permissions: read-all
|
||||
jobs:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"branches": ["main"],
|
||||
"branches": ["v5.x"],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
|
||||
Reference in New Issue
Block a user