Skip to content

Commit c9f6b77

Browse files
Merge pull request #100 from devgateway:task/DVIZ-61/worpress-cleanup
chore(DVIZ-61): add package bump input options for workflow dispatch
2 parents 8f5cad6 + c52b767 commit c9f6b77

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/build-and-release-wordpress.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ name: Build And Release Wordpress Image
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
package_bump:
7+
description: Package Bump
8+
required: true
9+
type: choice
10+
default: patch
11+
options:
12+
- patch
13+
- minor
14+
- major
515

616
permissions:
717
contents: write
@@ -32,6 +42,7 @@ jobs:
3242
tag_prefix: v
3343
release_branches: main,production,release/*
3444
dry_run: "true"
45+
default_bump: ${{ github.event.inputs.package_bump }}
3546

3647
build-and-push-docker-image:
3748
needs: prepare-a-release

0 commit comments

Comments
 (0)