Skip to content

Commit 9805b82

Browse files
committed
ci: rename master to main
Signed-off-by: Vincent Biret <[email protected]>
1 parent fbe390b commit 9805b82

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
55
trigger:
66
branches:
77
include:
8-
- master
8+
- main
99
- vnext
1010
pr:
1111
branches:
1212
include:
13-
- master
13+
- main
1414
- vnext
1515
variables:
1616
buildPlatform: 'Any CPU'
@@ -206,7 +206,7 @@ extends:
206206
content: '*.nupkg'
207207

208208
- stage: deploy
209-
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
209+
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/main'), succeeded())
210210
dependsOn: build
211211
jobs:
212212
- deployment: deploy_hidi

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Docker image
22
on:
33
workflow_dispatch:
44
push:
5-
branches: [master, vnext]
5+
branches: [main, vnext]
66
paths: ['src/Microsoft.OpenApi.Hidi/**', '.github/workflows/**']
77
env:
88
REGISTRY: msgraphprod.azurecr.io
@@ -35,7 +35,7 @@ jobs:
3535
push: true
3636
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:nightly
3737
- name: Push to GitHub Packages - Release
38-
if: ${{ github.ref == 'refs/heads/master' }}
38+
if: ${{ github.ref == 'refs/heads/main' }}
3939
uses: docker/[email protected]
4040
with:
4141
push: true

0 commit comments

Comments
 (0)