Skip to content

Commit 0e354cb

Browse files
committed
ci: renames master to main
Signed-off-by: Vincent Biret <[email protected]>
1 parent 7ae9446 commit 0e354cb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
66
trigger:
77
branches:
88
include:
9-
- master
9+
- main
1010
pr:
1111
branches:
1212
include:
13-
- master
13+
- main
1414

1515
variables:
1616
buildPlatform: 'Any CPU'
@@ -145,7 +145,7 @@ extends:
145145

146146
- task: PowerShell@2
147147
displayName: 'Validate project version has been incremented'
148-
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
148+
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/main'), succeeded())
149149
inputs:
150150
targetType: 'filePath'
151151
filePath: $(System.DefaultWorkingDirectory)\scripts\ValidateProjectVersionUpdated.ps1
@@ -186,7 +186,7 @@ extends:
186186
PendingAnalysisWaitTimeoutMinutes: '5'
187187

188188
- stage: deploy
189-
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
189+
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/main'), succeeded())
190190
dependsOn: build
191191
jobs:
192192
- deployment: deploy

.github/policies/OpenAPI.NET.OData-branch-protection.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ resource: repository
99
configuration:
1010
branchProtectionRules:
1111

12-
- branchNamePattern: master
12+
- branchNamePattern: main
1313
# This branch pattern applies to the following branches as of 06/09/2024 20:45:44:
14-
# master
14+
# main
1515

1616
# Specifies whether this branch can be deleted. boolean
1717
allowsDeletions: false

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [ main ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [ main ]
2020
schedule:
2121
- cron: '32 2 * * 6'
2222
workflow_dispatch:

0 commit comments

Comments
 (0)