diff --git a/.github/workflows/build_lite_lang_images.yml b/.github/workflows/build_lite_lang_images.yml index 5f5d11b6..f6e13ac6 100644 --- a/.github/workflows/build_lite_lang_images.yml +++ b/.github/workflows/build_lite_lang_images.yml @@ -102,6 +102,15 @@ jobs: create-release: runs-on: ubuntu-24.04 + # A release is cut by hand, never by a merge. The workflow also runs on + # a push to dev, and `github.ref` is refs/heads/dev on that push, so the + # branch test alone made every green dev push publish a public release + # dated that day (decision raspovos-dev-push-publishes-release, answered + # dispatch-only 2026-09-28). The event test is what holds: + # push to dev -> builds the images, publishes nothing + # dispatch on a PR branch -> builds the images, publishes nothing + # dispatch on dev -> publishes, and only a person starts that + if: github.ref == 'refs/heads/dev' && github.event_name == 'workflow_dispatch' needs: [get-date-release-name, build-all-images] outputs: release_id: ${{ steps.get-release-id.outputs.release_id }} @@ -124,6 +133,15 @@ jobs: upload-images: runs-on: ubuntu-24.04 + # A release is cut by hand, never by a merge. The workflow also runs on + # a push to dev, and `github.ref` is refs/heads/dev on that push, so the + # branch test alone made every green dev push publish a public release + # dated that day (decision raspovos-dev-push-publishes-release, answered + # dispatch-only 2026-09-28). The event test is what holds: + # push to dev -> builds the images, publishes nothing + # dispatch on a PR branch -> builds the images, publishes nothing + # dispatch on dev -> publishes, and only a person starts that + if: github.ref == 'refs/heads/dev' && github.event_name == 'workflow_dispatch' needs: [create-release, build-all-images] strategy: fail-fast: false diff --git a/.github/workflows/build_raspOVOS_full.yml b/.github/workflows/build_raspOVOS_full.yml index a98c0505..96372a0e 100644 --- a/.github/workflows/build_raspOVOS_full.yml +++ b/.github/workflows/build_raspOVOS_full.yml @@ -131,6 +131,15 @@ jobs: # Stage 3: Check if Release Exists and Create if Needed check-release-or-create: runs-on: ubuntu-24.04 + # A release is cut by hand, never by a merge. The workflow also runs on + # a push to dev, and `github.ref` is refs/heads/dev on that push, so the + # branch test alone made every green dev push publish a public release + # dated that day (decision raspovos-dev-push-publishes-release, answered + # dispatch-only 2026-09-28). The event test is what holds: + # push to dev -> builds the images, publishes nothing + # dispatch on a PR branch -> builds the images, publishes nothing + # dispatch on dev -> publishes, and only a person starts that + if: github.ref == 'refs/heads/dev' && github.event_name == 'workflow_dispatch' needs: [ get-date-release-name, modify-rpi-image, smoke-test ] outputs: release_id: ${{ steps.get-release-id.outputs.release_id }} diff --git a/.github/workflows/build_raspOVOS_lite.yml b/.github/workflows/build_raspOVOS_lite.yml index dc4cee99..4f8bc13b 100644 --- a/.github/workflows/build_raspOVOS_lite.yml +++ b/.github/workflows/build_raspOVOS_lite.yml @@ -109,6 +109,15 @@ jobs: # Stage 3: Check if Release Exists and Create if Needed check-release-or-create: runs-on: ubuntu-24.04 + # A release is cut by hand, never by a merge. The workflow also runs on + # a push to dev, and `github.ref` is refs/heads/dev on that push, so the + # branch test alone made every green dev push publish a public release + # dated that day (decision raspovos-dev-push-publishes-release, answered + # dispatch-only 2026-09-28). The event test is what holds: + # push to dev -> builds the images, publishes nothing + # dispatch on a PR branch -> builds the images, publishes nothing + # dispatch on dev -> publishes, and only a person starts that + if: github.ref == 'refs/heads/dev' && github.event_name == 'workflow_dispatch' needs: [ get-date-release-name, modify-rpi-image, smoke-test ] outputs: release_id: ${{ steps.get-release-id.outputs.release_id }}