From 01dd4abbafe2b2c8747837c2f05b967501391d37 Mon Sep 17 00:00:00 2001 From: Cijo Thomas Date: Wed, 27 Jan 2021 14:39:41 -0800 Subject: [PATCH] Rename workflows to target main branch instead of master (#1731) --- .github/workflows/docfx.yml | 2 +- .github/workflows/dotnet-core-cov.yml | 4 ++-- .github/workflows/dotnet-core-linux.yml | 2 +- .github/workflows/dotnet-core-win.yml | 4 ++-- .github/workflows/dotnet-format.yml | 2 +- .github/workflows/integration.yml | 4 ++-- .github/workflows/markdownlint.yml | 2 +- .github/workflows/sanitycheck.yml | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml index f71e7aae2..0e628d9d2 100644 --- a/.github/workflows/docfx.yml +++ b/.github/workflows/docfx.yml @@ -2,7 +2,7 @@ name: docfx on: pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/.github/workflows/dotnet-core-cov.yml b/.github/workflows/dotnet-core-cov.yml index 5c8973879..83c2d7930 100644 --- a/.github/workflows/dotnet-core-cov.yml +++ b/.github/workflows/dotnet-core-cov.yml @@ -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' diff --git a/.github/workflows/dotnet-core-linux.yml b/.github/workflows/dotnet-core-linux.yml index a2eb64002..e961a3db1 100644 --- a/.github/workflows/dotnet-core-linux.yml +++ b/.github/workflows/dotnet-core-linux.yml @@ -2,7 +2,7 @@ name: Linux on: pull_request: - branches: [ master ] + branches: [ main ] paths-ignore: - '**.md' diff --git a/.github/workflows/dotnet-core-win.yml b/.github/workflows/dotnet-core-win.yml index 205bff698..82fabd22f 100644 --- a/.github/workflows/dotnet-core-win.yml +++ b/.github/workflows/dotnet-core-win.yml @@ -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: diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index 721d46a77..f9f2e38b5 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -2,7 +2,7 @@ name: dotnet format on: pull_request: - branches: [ master ] + branches: [ main ] paths: - '**.cs' - '.editorconfig' diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 2e700f36c..99ee28196 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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' diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index 29f167738..77c8957b4 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -2,7 +2,7 @@ name: markdownlint on: pull_request: - branches: [ master ] + branches: [ main ] paths: - '**.md' diff --git a/.github/workflows/sanitycheck.yml b/.github/workflows/sanitycheck.yml index 9f2e5e9fd..92fda06a6 100644 --- a/.github/workflows/sanitycheck.yml +++ b/.github/workflows/sanitycheck.yml @@ -2,7 +2,7 @@ name: sanitycheck on: pull_request: - branches: [ master ] + branches: [ main ] jobs: misspell: