Skip to content

Commit b40a473

Browse files
committed
fix(ci): read workflow_dispatch inputs for release bump
1 parent e7f24a3 commit b40a473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
5151
if (eventName === 'workflow_dispatch') {
5252
shouldRelease = true
53-
bump = core.getInput('bump')
54-
targetSha = core.getInput('ref') || context.ref.replace('refs/heads/', '')
53+
bump = (context.payload.inputs?.bump || '').toLowerCase()
54+
targetSha = context.payload.inputs?.ref || context.ref.replace('refs/heads/', '')
5555
}
5656
5757
if (eventName === 'issue_comment') {

0 commit comments

Comments
 (0)