Skip to content

Commit 67f71ed

Browse files
committed
chore: disable notification
1 parent e158bd6 commit 67f71ed

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

Diff for: .github/workflows/release.yml

+37-37
Original file line numberDiff line numberDiff line change
@@ -62,26 +62,26 @@ jobs:
6262
if: ${{ steps.cli_token.outputs.tokenStatus != 'success'}}
6363
run: exit 1
6464

65-
notify-start:
66-
needs: [ cli-token-validation ]
67-
name: Notify Release Started
68-
runs-on: ubuntu-latest
69-
steps:
70-
- uses: actions/checkout@v2
71-
- name: Extract branch name
72-
id: extract_branch
73-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
74-
- name: Slack Notification
75-
if: ${{steps.extract_branch.outputs.branch == 'main' }}
76-
uses: rtCamp/action-slack-notify@v2
77-
env:
78-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
79-
SLACK_COLOR: "#36a64f"
80-
SLACK_USERNAME: CLI Release Bot
81-
SLACK_ICON_EMOJI: ":ship:"
82-
SLACK_TITLE: "Twilio Cli"
83-
SLACK_MESSAGE: 'Release Started :rocket:'
84-
MSG_MINIMAL: actions url
65+
# notify-start:
66+
# needs: [ cli-token-validation ]
67+
# name: Notify Release Started
68+
# runs-on: ubuntu-latest
69+
# steps:
70+
# - uses: actions/checkout@v2
71+
# - name: Extract branch name
72+
# id: extract_branch
73+
# run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
74+
# - name: Slack Notification
75+
# if: ${{steps.extract_branch.outputs.branch == 'main' }}
76+
# uses: rtCamp/action-slack-notify@v2
77+
# env:
78+
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
79+
# SLACK_COLOR: "#36a64f"
80+
# SLACK_USERNAME: CLI Release Bot
81+
# SLACK_ICON_EMOJI: ":ship:"
82+
# SLACK_TITLE: "Twilio Cli"
83+
# SLACK_MESSAGE: 'Release Started :rocket:'
84+
# MSG_MINIMAL: actions url
8585
test:
8686
needs: [ cli-token-validation ]
8787
runs-on: ubuntu-latest
@@ -175,20 +175,20 @@ jobs:
175175
BRANCH_NAME: ${{github.event.inputs.cli-branch}}
176176
REPO_NAME: ${{ github.repository_owner }}/twilio-cli
177177
INPUTS: '{ "change-log": ${{ toJSON(needs.update-api-specs.outputs.change-log) }}, "version-type": "${{needs.update-api-specs.outputs.version-type}}", "homebrew-branch": "${{github.event.inputs.homebrew-branch}}", "homebrew-prerelease": "${{github.event.inputs.homebrew-prerelease}}" }'
178-
notify-complete-fail:
179-
if: ${{ (needs.cli-token-validation.result != 'failure' || needs.cli-core-token-validation.result != 'failure' ) && (failure() || cancelled()) }}
180-
needs: [ triggerCliWorkflow ]
181-
name: Notify Release Failed
182-
runs-on: ubuntu-latest
183-
steps:
184-
- uses: actions/checkout@v2
185-
- name: Slack Notification
186-
uses: rtCamp/action-slack-notify@v2
187-
env:
188-
SLACK_WEBHOOK: ${{ secrets.ALERT_SLACK_WEB_HOOK }}
189-
SLACK_COLOR: "#ff3333"
190-
SLACK_USERNAME: CLI Release Bot
191-
SLACK_ICON_EMOJI: ":ship:"
192-
SLACK_TITLE: "Twilio Cli-core"
193-
SLACK_MESSAGE: 'Release workflow Failed'
194-
MSG_MINIMAL: actions url
178+
# notify-complete-fail:
179+
# if: ${{ (needs.cli-token-validation.result != 'failure' || needs.cli-core-token-validation.result != 'failure' ) && (failure() || cancelled()) }}
180+
# needs: [ triggerCliWorkflow ]
181+
# name: Notify Release Failed
182+
# runs-on: ubuntu-latest
183+
# steps:
184+
# - uses: actions/checkout@v2
185+
# - name: Slack Notification
186+
# uses: rtCamp/action-slack-notify@v2
187+
# env:
188+
# SLACK_WEBHOOK: ${{ secrets.ALERT_SLACK_WEB_HOOK }}
189+
# SLACK_COLOR: "#ff3333"
190+
# SLACK_USERNAME: CLI Release Bot
191+
# SLACK_ICON_EMOJI: ":ship:"
192+
# SLACK_TITLE: "Twilio Cli-core"
193+
# SLACK_MESSAGE: 'Release workflow Failed'
194+
# MSG_MINIMAL: actions url

0 commit comments

Comments
 (0)