mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
.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.
This commit is contained in:
29
.github/workflows/Releaser.yml
vendored
29
.github/workflows/Releaser.yml
vendored
@@ -3,6 +3,16 @@ run-name: ${{ github.actor }} is creating ${{vars.PRODUCT_NAME}} release ${{inpu
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
release_type:
|
||||||
|
description: |
|
||||||
|
Release Type:
|
||||||
|
required: true
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- STANDARD
|
||||||
|
- SECURITY
|
||||||
|
- HOTFIX
|
||||||
|
default: STANDARD
|
||||||
new_version:
|
new_version:
|
||||||
description: |
|
description: |
|
||||||
New Version:
|
New Version:
|
||||||
@@ -11,27 +21,13 @@ on:
|
|||||||
certified-20.4-cert1-rc1, certified-20.4-cert1
|
certified-20.4-cert1-rc1, certified-20.4-cert1
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
is_security:
|
|
||||||
description: |
|
|
||||||
Security?
|
|
||||||
(No prev RCs)
|
|
||||||
required: true
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
advisories:
|
advisories:
|
||||||
description: |
|
description: |
|
||||||
Comma separated list of advisories.
|
Comma separated list of advisories for SECURITY releases.
|
||||||
NO SPACES
|
NO SPACES
|
||||||
Example: GHSA-4xjp-22g4-9fxm,GHSA-4xjp-22g4-zzzz
|
Example: GHSA-4xjp-22g4-9fxm,GHSA-4xjp-22g4-zzzz
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
is_hotfix:
|
|
||||||
description: |
|
|
||||||
Hotfix?
|
|
||||||
(A patch release but not security. No prev RCs)
|
|
||||||
required: true
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
skip_cherry_pick:
|
skip_cherry_pick:
|
||||||
description: |
|
description: |
|
||||||
Skip automatic cherry-pick for regular RC1 releases? USE WITH CAUTION!
|
Skip automatic cherry-pick for regular RC1 releases? USE WITH CAUTION!
|
||||||
@@ -79,10 +75,9 @@ jobs:
|
|||||||
Releaser:
|
Releaser:
|
||||||
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskRelease.yml@main
|
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskRelease.yml@main
|
||||||
with:
|
with:
|
||||||
|
release_type: ${{inputs.release_type}}
|
||||||
new_version: ${{inputs.new_version}}
|
new_version: ${{inputs.new_version}}
|
||||||
is_security: ${{inputs.is_security}}
|
|
||||||
advisories: ${{inputs.advisories}}
|
advisories: ${{inputs.advisories}}
|
||||||
is_hotfix: ${{inputs.is_hotfix}}
|
|
||||||
skip_cherry_pick: ${{inputs.skip_cherry_pick}}
|
skip_cherry_pick: ${{inputs.skip_cherry_pick}}
|
||||||
force_cherry_pick: ${{inputs.force_cherry_pick}}
|
force_cherry_pick: ${{inputs.force_cherry_pick}}
|
||||||
skip_test_builds: ${{inputs.skip_test_builds}}
|
skip_test_builds: ${{inputs.skip_test_builds}}
|
||||||
|
Reference in New Issue
Block a user