Run workflows for any branch starting with "main". (#3708)

This commit is contained in:
Mikel Blanchard 2022-09-29 12:04:43 -07:00 committed by GitHub
parent 7fd3783371
commit a93f7138b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 21 additions and 21 deletions

View File

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

View File

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

View File

@ -2,9 +2,9 @@ name: docfx
on: on:
push: push:
branches: [ main ] branches: [ 'main*' ]
pull_request: pull_request:
branches: [ main ] branches: [ 'main*' ]
jobs: jobs:
build: build:

View File

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

View File

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

View File

@ -9,7 +9,7 @@ name: Integration Tests
on: on:
pull_request: pull_request:
branches: [ main ] branches: [ 'main*' ]
paths: paths:
- '**.md' - '**.md'

View File

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

View File

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

View File

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

View File

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

View File

@ -2,9 +2,9 @@ name: sanitycheck
on: on:
push: push:
branches: [ main ] branches: [ 'main*' ]
pull_request: pull_request:
branches: [ main ] branches: [ 'main*' ]
jobs: jobs:
misspell: misspell:

View File

@ -9,7 +9,7 @@ name: Windows
on: on:
pull_request: pull_request:
branches: [ main ] branches: [ 'main*' ]
paths: paths:
- '**.md' - '**.md'

View File

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