Skip to content

Commit 4e2f368

Browse files
committed
chore: make slack notification optional in release start workflow
1 parent a5a6c1c commit 4e2f368

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release-start.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Start release
22
on:
33
workflow_dispatch: # manual trigger
4+
inputs:
5+
send_slack_notification:
6+
description: 'Send Slack notification'
7+
required: false
8+
default: true
9+
type: boolean
410

511
jobs:
612
create-release-branch:
@@ -66,6 +72,7 @@ jobs:
6672
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6773

6874
- name: Start Slack Notify Workflow
75+
if: ${{ inputs.send_slack_notification }}
6976
uses: slackapi/[email protected]
7077
with:
7178
webhook: ${{ secrets.SLACK_WEBHOOK_URL_RELEASE_NOTIFY }}

0 commit comments

Comments
 (0)