Skip to content

Commit 70d3955

Browse files
authored
GHA - add workflow dispatch to sdk release job (#1155)
1 parent 5967efd commit 70d3955

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/automation-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Conditionally Release the SDK
22
on:
33
pull_request:
44
types: ['closed']
5-
5+
66
workflow_dispatch:
77

88
concurrency:
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
release-go-sdk:
14-
if: ${{ github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'release-once-merged') }}
14+
if: ${{ (github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'release-once-merged')) || github.event_name == 'workflow_dispatch' }}
1515
runs-on: custom-linux-medium
1616
permissions:
1717
contents: write

0 commit comments

Comments
 (0)