build.yaml: Build shared branches

We're currently building every single commit pushed to Github. This is
racking up $20k in build charges a month and is generally superfluous.

This changeset alters build triggers so that builds automatically run if
they are committed to a **shared branch**:

- `release/*` - A release stabilization branch
- `project/*` - A project viewer branch
- `main/*` - The default/stable branch

PR commits are also automatically built.

...need to build another commit? Developers can trigger one using a
manual workflow run.
master
Bennett Goble 2024-01-30 08:50:33 -08:00
parent c0861e9366
commit 27e3fdc957
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ on:
workflow_dispatch:
pull_request:
push:
branches: ["*"]
tags: ["*"]
branches: ["main", "release/*", "project/*"]
tags: ["Second_Life_*"]
jobs:
build: