diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd8cde8dc..b38e6b652 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,9 +74,11 @@ jobs: git branch git status git branch --show-current - branch="zen-${{ inputs.update_branch }}" - if [[ $branch == "zen-alpha" ]]; then - branch="zen-stable" + branch="${{ inputs.update_branch }}" + if [[ $branch == "alpha" ]]; then + branch="stable" + elif [[ $branch == "twilight" ]]; then + branch="dev" fi if [[ $(git branch --show-current) != $branch ]]; then echo ">>> Branch mismatch" diff --git a/.github/workflows/twilight-release-schedule.yml b/.github/workflows/twilight-release-schedule.yml index 0c857f67e..7f01eb6dd 100644 --- a/.github/workflows/twilight-release-schedule.yml +++ b/.github/workflows/twilight-release-schedule.yml @@ -2,7 +2,7 @@ name: Zen Twilight Scheduled Releases on: push: branches: - - twilight + - dev workflow_dispatch: jobs: diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 085636cc1..f8b9b2416 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -4,10 +4,10 @@ name: Update Components Submodules on: push: branches: - - central + - dev pull_request: branches: - - central + - dev workflow_dispatch: workflow_call: # This is a custom event that we will trigger manually