Skip to content

Commit d7fbadd

Browse files
committed
fix: add workflow_dispatch event validation
1 parent 8c50601 commit d7fbadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
create-release:
11-
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')
11+
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release'))
1212
runs-on: ubuntu-latest
1313

1414
steps:

0 commit comments

Comments
 (0)