Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Commit b4902c3

Browse files
committed
dispatch
1 parent d7797ce commit b4902c3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Bump version and publish
22

33
on:
4+
workflow_dispatch:
45
workflow_run:
56
workflows: [ "CI" ]
67
types: [ completed ]
@@ -11,8 +12,9 @@ jobs:
1112
contents: write
1213

1314
if: >
14-
github.event.workflow_run.conclusion == 'success' &&
15-
github.event.workflow_run.head_branch == 'main'
15+
github.event_name == 'workflow_dispatch' ||
16+
(github.event.workflow_run.conclusion == 'success' &&
17+
github.event.workflow_run.head_branch == 'main')
1618
1719
runs-on: ubuntu-latest
1820

0 commit comments

Comments
 (0)