Skip to content

Commit

Permalink
dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 28, 2025
1 parent 2b91591 commit 3f9cf56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Bump version and publish

on:
workflow_dispatch:
workflow_run:
workflows: [ "CI" ]
types: [ completed ]
Expand All @@ -11,8 +12,9 @@ jobs:
contents: write

if: >
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main'
github.event_name == 'workflow_dispatch' ||
(github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main')
runs-on: ubuntu-latest

Expand Down

0 comments on commit 3f9cf56

Please sign in to comment.