Skip to content

Commit

Permalink
ci(branch): rename master branch main
Browse files Browse the repository at this point in the history
  • Loading branch information
rbardini committed Aug 4, 2024
1 parent 0d23400 commit 87b0cec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Main
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
test-build-release:
Expand Down Expand Up @@ -38,9 +38,10 @@ jobs:
- name: Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 24
extra_plugins: |
conventional-changelog-conventionalcommits@6
if: github.ref == 'refs/heads/master'
conventional-changelog-conventionalcommits
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 87b0cec

Please sign in to comment.