diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d504d2b60..63deb4cdf 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 3acf00f3e..733f9ffa9 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 5a23ee1de..a11e9dfd5 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": {