diff options
author | Bennett Goble <signal@lindenlab.com> | 2024-01-30 08:50:33 -0800 |
---|---|---|
committer | Bennett Goble <signal@lindenlab.com> | 2024-01-31 13:26:14 -0800 |
commit | 27e3fdc957cba70645f9c6edf8ac994305116e6c (patch) | |
tree | 8039cb510fa5f1b18e0029f5f4a735aa846e16c5 | |
parent | c0861e93665b7fa334cbea3fec76888a0da86f89 (diff) |
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.
-rw-r--r-- | .github/workflows/build.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 849c10d62e..1dd2c1d5df 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,8 +4,8 @@ on: workflow_dispatch: pull_request: push: - branches: ["*"] - tags: ["*"] + branches: ["main", "release/*", "project/*"] + tags: ["Second_Life_*"] jobs: build: |