Skip to content

Commit 774f362

Browse files
committed
ci: allow workflow_dispatch to trigger draft-release job
1 parent 9f1e59c commit 774f362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
draft-release:
116116
runs-on: ubuntu-latest
117117
needs: [build]
118-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
118+
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
119119
permissions:
120120
contents: write
121121
steps:

0 commit comments

Comments
 (0)