Skip to content

Commit

Permalink
Add condition to release workflow to be triggered manually (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj committed Dec 7, 2023
1 parent 9c6f8f7 commit 5db3efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
release:
if: github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/')
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
runs-on: ubuntu-latest
environment: release

Expand Down

0 comments on commit 5db3efd

Please sign in to comment.