From 5ff9313683273b895c9aff7cbebdafbf828d7ea5 Mon Sep 17 00:00:00 2001 From: Yeliz Henden Date: Thu, 24 Sep 2026 14:07:27 +0100 Subject: [PATCH] fix: Default force_bump to false for scheduled release runs Scheduled workflows provide no workflow_dispatch inputs, so force_bump resolves to an empty string and fails boolean input validation for release-spec.yml. The four env release jobs are then never created and the failure is invisible to the retry/failure handlers. Coerce with || false so a valid boolean is always passed. --- .github/workflows/release-spec-runner.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-spec-runner.yml b/.github/workflows/release-spec-runner.yml index 0c4d68a04d..1b64c39218 100644 --- a/.github/workflows/release-spec-runner.yml +++ b/.github/workflows/release-spec-runner.yml @@ -66,7 +66,7 @@ jobs: branch: dev foascli_version: ${{ vars.FOASCLI_VERSION }} atlas_admin_v2_doc_id: ${{vars.ATLAS_ADMIN_V2_DOC_ID_DEV }} - force_bump: ${{ inputs.force_bump }} + force_bump: ${{ inputs.force_bump || false }} release-spec-qa: name: Release OpenAPI Spec for QA @@ -86,7 +86,7 @@ jobs: branch: qa foascli_version: ${{ vars.FOASCLI_VERSION }} atlas_admin_v2_doc_id: ${{vars.ATLAS_ADMIN_V2_DOC_ID_QA }} - force_bump: ${{ inputs.force_bump }} + force_bump: ${{ inputs.force_bump || false }} release-spec-staging: name: Release OpenAPI Spec for STAGING @@ -106,7 +106,7 @@ jobs: branch: staging foascli_version: ${{ vars.FOASCLI_VERSION }} atlas_admin_v2_doc_id: ${{vars.ATLAS_ADMIN_V2_DOC_ID_STAGING }} - force_bump: ${{ inputs.force_bump }} + force_bump: ${{ inputs.force_bump || false }} release-spec-prod: name: Release OpenAPI Spec for PROD @@ -130,7 +130,7 @@ jobs: atlas_prod_base_url: ${{ vars.ATLAS_PROD_BASE_URL }} atlas_admin_v2_doc_id: ${{vars.ATLAS_ADMIN_V2_DOC_ID }} atlas_admin_v1_doc_id: ${{vars.ATLAS_ADMIN_V1_DOC_ID }} - force_bump: ${{ inputs.force_bump }} + force_bump: ${{ inputs.force_bump || false }} release-spec-v1-prod: name: Release OpenAPI Spec V1 (Deprecated) for PROD