Skip to content

Commit

Permalink
chore: Rename master branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Jun 10, 2022
1 parent eae948d commit 1db049e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: ['**']
pull_request:
branches: ['master']
branches: ['main']

jobs:
pre-test:
Expand All @@ -19,7 +19,7 @@ jobs:
- run: npm run lint:check

branch-test:
if: github.ref_name != 'master' && success()
if: github.ref_name != 'main' && success()
needs: pre-test
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -37,7 +37,7 @@ jobs:
- run: npm test

test:
if: github.ref_name == 'master' && success()
if: github.ref_name == 'main' && success()
needs: pre-test
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 1db049e

Please sign in to comment.