From b3826febe06cd95f207f7f5a638f64ed1a061f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20M=2E?= Date: Tue, 18 Nov 2025 16:20:27 +0000 Subject: [PATCH] chore(github-actions): fine tune workflow orchestrator defaults (#30794) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue number: resolves # --------- ## What is the current behavior? - "nightly" was the default choice and was available for manual trigger when running `release-orchestrator` ## What is the new behavior? - Set "dev" as the default choice (changed from "nightly") - Removed "nightly" from manual workflow_dispatch options (only "dev" and "production" remain) - Simplified the `run-nightly` condition to only run on schedule (`github.event_name == 'schedule'`) ## Does this introduce a breaking change? - [ ] Yes - [-] No ## Other information - Manual triggers (workflow_dispatch): Only "dev" (default) and "production" are available - Scheduled triggers: The nightly build continues to run automatically every Monday–Friday at 6:00 UTC via the schedule trigger - Trusted Publishers compliance: Maintained — all releases still go through the single orchestrator workflow, ensuring the OIDC token is issued from the whitelisted workflow --- .github/workflows/release-orchestrator.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-orchestrator.yml b/.github/workflows/release-orchestrator.yml index 860cce312c..2c41ed516f 100644 --- a/.github/workflows/release-orchestrator.yml +++ b/.github/workflows/release-orchestrator.yml @@ -11,10 +11,9 @@ on: description: 'Which Ionic release workflow should run?' required: true type: choice - default: nightly + default: dev options: - dev - - nightly - production version: description: 'Which version should be published? (Only for production releases)' @@ -54,7 +53,7 @@ permissions: jobs: run-nightly: - if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.release-type == 'nightly') }} + if: ${{ github.event_name == 'schedule' }} permissions: contents: read id-token: write