Skip to content

Commit 27e3fdc

Browse files
committed
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.
1 parent c0861e9 commit 27e3fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
workflow_dispatch:
55
pull_request:
66
push:
7-
branches: ["*"]
8-
tags: ["*"]
7+
branches: ["main", "release/*", "project/*"]
8+
tags: ["Second_Life_*"]
99

1010
jobs:
1111
build:

0 commit comments

Comments
 (0)