From baf729c7f29fb0ed09f4cb4d77355d647c2b42be Mon Sep 17 00:00:00 2001 From: George Joseph Date: Fri, 18 Jul 2025 11:26:37 -0600 Subject: [PATCH] .github: Reduce number of inputs to Releaser to 10. The max number of inputs supported by GitHub is 10 so is_security and is_hotfix were factored into a single choice entry. --- .github/workflows/Releaser.yml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/Releaser.yml b/.github/workflows/Releaser.yml index 1f6b67cdbe..94f1870d80 100644 --- a/.github/workflows/Releaser.yml +++ b/.github/workflows/Releaser.yml @@ -3,6 +3,16 @@ run-name: ${{ github.actor }} is creating ${{vars.PRODUCT_NAME}} release ${{inpu on: workflow_dispatch: inputs: + release_type: + description: | + Release Type: + required: true + type: choice + options: + - STANDARD + - SECURITY + - HOTFIX + default: STANDARD new_version: description: | New Version: @@ -11,27 +21,13 @@ on: certified-20.4-cert1-rc1, certified-20.4-cert1 required: true type: string - is_security: - description: | - Security? - (No prev RCs) - required: true - type: boolean - default: false advisories: description: | - Comma separated list of advisories. + Comma separated list of advisories for SECURITY releases. NO SPACES Example: GHSA-4xjp-22g4-9fxm,GHSA-4xjp-22g4-zzzz required: false type: string - is_hotfix: - description: | - Hotfix? - (A patch release but not security. No prev RCs) - required: true - type: boolean - default: false skip_cherry_pick: description: | Skip automatic cherry-pick for regular RC1 releases? USE WITH CAUTION! @@ -79,10 +75,9 @@ jobs: Releaser: uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskRelease.yml@main with: + release_type: ${{inputs.release_type}} new_version: ${{inputs.new_version}} - is_security: ${{inputs.is_security}} advisories: ${{inputs.advisories}} - is_hotfix: ${{inputs.is_hotfix}} skip_cherry_pick: ${{inputs.skip_cherry_pick}} force_cherry_pick: ${{inputs.force_cherry_pick}} skip_test_builds: ${{inputs.skip_test_builds}} -- 2.47.2