Rename workflows to target main branch instead of master (#1731)

This commit is contained in:
Cijo Thomas 2021-01-27 14:39:41 -08:00 committed by GitHub
parent 0e8b423bef
commit 01dd4abbaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@ name: docfx
on:
pull_request:
branches: [ master ]
branches: [ main ]
jobs:
build:

View File

@ -2,11 +2,11 @@ name: Code Coverage
on:
push:
branches: [ master ]
branches: [ main ]
paths-ignore:
- '**.md'
pull_request:
branches: [ master ]
branches: [ main ]
paths-ignore:
- '**.md'

View File

@ -2,7 +2,7 @@ name: Linux
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths-ignore:
- '**.md'

View File

@ -2,7 +2,7 @@ name: Windows
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths-ignore:
- '**.md'
@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v1
with:

View File

@ -2,7 +2,7 @@ name: dotnet format
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '**.cs'
- '.editorconfig'

View File

@ -2,11 +2,11 @@ name: Integration Tests
on:
push:
branches: [ master ]
branches: [ main ]
paths-ignore:
- '**.md'
pull_request:
branches: [ master ]
branches: [ main ]
paths-ignore:
- '**.md'

View File

@ -2,7 +2,7 @@ name: markdownlint
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '**.md'

View File

@ -2,7 +2,7 @@ name: sanitycheck
on:
pull_request:
branches: [ master ]
branches: [ main ]
jobs:
misspell: