Rename the master branch to main

This commit is contained in:
Martin Robinson 2023-11-27 14:03:16 +01:00
parent 7bcb25c85c
commit 23add0c1e5
14 changed files with 47 additions and 51 deletions

View file

@ -2,10 +2,10 @@ name: Main
on:
push:
# Run the entire pipeline for 'master' even though the merge queue already runs checks
# Run the entire pipeline for 'main' even though the merge queue already runs checks
# for every change. This just offers an extra layer of testing and covers the case of
# random force pushes.
branches: ["master", "try"]
branches: ["main", "try"]
pull_request:
types: ['opened', 'synchronize']
branches: ["**"]
@ -56,7 +56,7 @@ jobs:
let layout = "${{ inputs.layout }}" || "none";
let unit_tests = Boolean(${{ inputs.unit-tests }})
// Merge queue runs and pushes to master should always trigger a full build and test.
// Merge queue runs and pushes to `main` should always trigger a full build and test.
if (["push", "merge_group"].includes(context.eventName)) {
platform = "all";
layout = "all";