main rename

fixes #116341
This commit is contained in:
João Moreno
2021-02-14 20:10:24 +01:00
parent a699ffaee6
commit 980becda8d
23 changed files with 36 additions and 36 deletions

View File

@@ -7,7 +7,7 @@ on:
types:
- completed
branches:
- master
- main
- release/*
jobs:

View File

@@ -3,11 +3,11 @@ name: CI
on:
push:
branches:
- master
- main
- release/*
pull_request:
branches:
- master
- main
- release/*
jobs:

View File

@@ -2,9 +2,9 @@ name: VS Code Repo Dev Container Cache Image Generation
on:
push:
# Currently doing this for master, but could be done for PRs as well
# Currently doing this for main, but could be done for PRs as well
branches:
- "master"
- "main"
# Only updates to these files result in changes to installed packages, so skip otherwise
paths:
@@ -35,6 +35,6 @@ jobs:
az acr login --name $ACR_REGISTRY_NAME
GIT_BRANCH=$(echo "${{ github.ref }}" | grep -oP 'refs/(heads|tags)/\K(.+)')
if [ "$GIT_BRANCH" == "" ]; then GIT_BRANCH=master; fi
if [ "$GIT_BRANCH" == "" ]; then GIT_BRANCH=main; fi
.devcontainer/cache/build-cache-image.sh "${{ secrets.CONTAINER_IMAGE_REGISTRY }}/public/vscode/devcontainers/repos/microsoft/vscode" "${GIT_BRANCH}"

View File

@@ -3,7 +3,7 @@ on:
pull_request:
push:
branches:
- master
- main
jobs:
richnav: