Skip to content

Commit

Permalink
Implement workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed May 31, 2024
1 parent ada59c8 commit fe0a32e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: release

on:
workflow_dispatch:
pull_request:
types: [closed]
branches:
Expand All @@ -13,7 +14,7 @@ env:

jobs:
prepare:
if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'prepare-release'
if: (github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'prepare-release') || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
outputs:
tag_name: ${{ steps.release_info.outputs.tag_name }}
Expand Down

0 comments on commit fe0a32e

Please sign in to comment.