Skip to content

Commit d046e58

Browse files
Merge pull request #66 from off-grid-ai/chore/beta-build-manual-only
ci(release): beta build is manual-only (no auto-run on merge to main)
2 parents 100d6a3 + c6b4d7c commit d046e58

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: Build and Release
22

33
on:
4-
# Every merge to main publishes to the BETA (nightly) channel — opt-in users only.
5-
push:
6-
branches:
7-
- main
8-
# Promote to STABLE on demand: Actions → Build and Release → Run workflow → stable.
9-
# (Default beta, so an accidental run never ships stable to everyone.)
4+
# MANUAL ONLY. A merge to main no longer auto-builds — we trigger releases on demand so a
5+
# merge never spends a build or moves the beta feed on its own. Run it from
6+
# Actions → Build and Release → Run workflow, and pick the channel:
7+
# beta = nightly opt-in feed (default; an accidental run can never ship stable to everyone)
8+
# stable = everyone
109
workflow_dispatch:
1110
inputs:
1211
channel:
@@ -36,7 +35,8 @@ jobs:
3635
# throwaway -beta.<run> version WITHOUT committing, so nightly builds never move
3736
# main's base version or spam it with bump commits.
3837
version:
39-
if: github.event_name == 'workflow_dispatch' || !contains(github.event.head_commit.message, '[skip ci]')
38+
# Manual-only trigger, so this always runs on dispatch; the old push/[skip ci] guard is gone.
39+
if: github.event_name == 'workflow_dispatch'
4040
runs-on: ubuntu-latest
4141
outputs:
4242
version: ${{ steps.bump.outputs.version }}

0 commit comments

Comments
 (0)