Skip to content

Commit

Permalink
Run workflows for any branch starting with "main". (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch authored Sep 29, 2022
1 parent 7fd3783 commit a93f713
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/apicompatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: API Compatibility

on:
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Code Coverage

on:
push:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: docfx

on:
push:
branches: [ main ]
branches: [ 'main*' ]
pull_request:
branches: [ main ]
branches: [ 'main*' ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-format-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: dotnet format

on:
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.cs'
- '.editorconfig'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: dotnet format

on:
push:
branches: [ main ]
branches: [ 'main*' ]
paths:
- '**.cs'
- '.editorconfig'
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths:
- '**.cs'
- '.editorconfig'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Integration Tests

on:
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths:
- '**.md'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Integration Tests

on:
push:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-ci-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Linux

on:
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths:
- '**.md'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Linux

on:
push:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: markdownlint

on:
push:
branches: [ main ]
branches: [ 'main*' ]
paths:
- '**.md'
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths:
- '**.md'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sanitycheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: sanitycheck

on:
push:
branches: [ main ]
branches: [ 'main*' ]
pull_request:
branches: [ main ]
branches: [ 'main*' ]

jobs:
misspell:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-ci-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Windows

on:
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths:
- '**.md'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Windows

on:
push:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
branches: [ 'main*' ]
paths-ignore:
- '**.md'

Expand Down

0 comments on commit a93f713

Please sign in to comment.