Rename master branch to main
This commit is contained in:
Родитель
6481ae7af5
Коммит
fba5eed179
|
@ -3,7 +3,7 @@ name: CI
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- validate/*
|
||||
pull_request:
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
![NuGet package](https://img.shields.io/badge/nuget-your--package--here-yellow.svg)
|
||||
|
||||
[![Azure Pipelines status](https://dev.azure.com/andrewarnott/OSS/_apis/build/status/AArnott.Library.Template?branchName=master)](https://dev.azure.com/andrewarnott/OSS/_build/latest?definitionId=29&branchName=master)
|
||||
[![Azure Pipelines status](https://dev.azure.com/andrewarnott/OSS/_apis/build/status/AArnott.Library.Template?branchName=main)](https://dev.azure.com/andrewarnott/OSS/_build/latest?definitionId=29&branchName=main)
|
||||
![GitHub Actions status](https://github.com/aarnott/Library.Template/workflows/CI/badge.svg)
|
||||
[![codecov](https://codecov.io/gh/aarnott/library.template/branch/master/graph/badge.svg)](https://codecov.io/gh/aarnott/library.template)
|
||||
[![codecov](https://codecov.io/gh/aarnott/library.template/branch/main/graph/badge.svg)](https://codecov.io/gh/aarnott/library.template)
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
- main
|
||||
- 'validate/*'
|
||||
paths:
|
||||
exclude:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
||||
"version": "0.1-beta",
|
||||
"publicReleaseRefSpec": [
|
||||
"^refs/heads/master$",
|
||||
"^refs/heads/main$",
|
||||
"^refs/heads/v\\d+(?:\\.\\d+)?$"
|
||||
]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче