From 1b1d7d015aca1d8178aa73442d6d85a19c533d6e Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Fri, 7 Jun 2024 09:58:59 -0700 Subject: [PATCH] s/master/main/g (#69) Convert `master` to `main`. Note that the repo reference in `.gitignore` is correct, as they've also switched. The only reference to master left is in the StyleCop JSON schema because it hasn't migrated. --- .github/workflows/main.yml | 4 ++-- .gitignore | 2 +- version.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d504d2b6..63deb4cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,10 +4,10 @@ on: workflow_dispatch: # Allow running the workflow manually from the GitHub UI pull_request: branches: - - master + - main push: branches: - - master + - main workflow_call: # Allow to be called from the release workflow schedule: - cron: '31 15 * * 0' # Run periodically to keep CodeQL database updated diff --git a/.gitignore b/.gitignore index 3acf00f3..733f9ffa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## -## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore # User-specific files *.suo diff --git a/version.json b/version.json index 5a23ee1d..a11e9dfd 100644 --- a/version.json +++ b/version.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", "version": "0.1.0", "publicReleaseRefSpec": [ - "^refs/heads/master$", + "^refs/heads/main$", "^refs/heads/v\\d+(?:\\.\\d+)?$" ], "cloudBuild": {