Skip to content

Commit

Permalink
feat: release workflow add dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
didoda committed Jul 3, 2023
1 parent c71fea7 commit 52a4c70
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,22 @@ name: Release
on:
pull_request_target:
types: [closed]
workflow_dispatch:
inputs:
releaseType:
description: 'Release type'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major

jobs:
release-job:
uses: bedita/github-workflows/.github/workflows/release.yml@v1
with:
main_branch: 'master'
dist_branches: '["master","1.x","3.x"]'
version_bump: ${{ inputs.releaseType }}

0 comments on commit 52a4c70

Please sign in to comment.