Skip to content

Commit 28a1319

Browse files
authored
chore: migrate default branch to main (#122)
1 parent 4ea6c4c commit 28a1319

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
permissions:
1212
contents: read
@@ -50,7 +50,7 @@ jobs:
5050
name: Release
5151
runs-on: windows-2022
5252
needs: build
53-
if: github.ref == 'refs/heads/master'
53+
if: github.ref == 'refs/heads/main'
5454
permissions:
5555
contents: write
5656
steps:
@@ -78,7 +78,7 @@ jobs:
7878
env:
7979
VERSION: ${{ steps.get-next-version.outputs.new-release-version }}
8080
- name: Run semantic release
81-
run: npx semantic-release@22.0.6 --dry-run
81+
run: npx semantic-release@22.0.6
8282
if: steps.get-next-version.outputs.new-release-published == 'true'
8383
env:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
}
1515
]
1616
],
17-
"branches": [ "master" ]
17+
"branches": [ "main" ]
1818
}

0 commit comments

Comments
 (0)