Skip to content

Commit 65b719f

Browse files
committed
ci(ci): support workflow_dispatch for determine-version job
Allows the release pipeline to run when manually triggered via workflow_dispatch, not just on push events.
1 parent 2102a16 commit 65b719f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
determine-version:
115115
runs-on: ubuntu-latest
116116
timeout-minutes: 5
117-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
117+
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
118118
outputs:
119119
next-version: ${{ steps.version.outputs.next-version }}
120120
should-release: ${{ steps.version.outputs.should-release }}

0 commit comments

Comments
 (0)