Skip to content

Commit d5d0541

Browse files
committedAug 1, 2022
chore: rename master to main
1 parent f548092 commit d5d0541

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: ['**']
55
pull_request:
6-
branches: ['master']
6+
branches: ['main']
77

88
jobs:
99
pre-test:
@@ -19,7 +19,7 @@ jobs:
1919
- run: npm run lint:check
2020

2121
branch-test:
22-
if: github.ref_name != 'master' && success()
22+
if: github.ref_name != 'main' && success()
2323
needs: pre-test
2424
runs-on: ${{ matrix.os }}
2525
strategy:
@@ -37,7 +37,7 @@ jobs:
3737
- run: npm test
3838

3939
test:
40-
if: github.ref_name == 'master' && success()
40+
if: github.ref_name == 'main' && success()
4141
needs: pre-test
4242
runs-on: ${{ matrix.os }}
4343
strategy:

0 commit comments

Comments
 (0)
Please sign in to comment.