@@ -62,26 +62,26 @@ jobs:
62
62
if : ${{ steps.cli_token.outputs.tokenStatus != 'success'}}
63
63
run : exit 1
64
64
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
85
85
test :
86
86
needs : [ cli-token-validation ]
87
87
runs-on : ubuntu-latest
@@ -175,20 +175,20 @@ jobs:
175
175
BRANCH_NAME : ${{github.event.inputs.cli-branch}}
176
176
REPO_NAME : ${{ github.repository_owner }}/twilio-cli
177
177
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