22407 - Remove Mattermost notification (#544)
https://github.com/eclipse/che/issues/22407 Comment out the mattermost notification so it doesn't fail the release workflow, but leaving it in the file so I remember to replace it.pull/546/head
parent
b2dfdb0c84
commit
d96e67252a
|
|
@ -145,17 +145,17 @@ jobs:
|
||||||
prerelease: false
|
prerelease: false
|
||||||
tag: ${{ github.event.inputs.version }}
|
tag: ${{ github.event.inputs.version }}
|
||||||
token: ${{ secrets.CHE_BOT_GITHUB_TOKEN }}
|
token: ${{ secrets.CHE_BOT_GITHUB_TOKEN }}
|
||||||
- name: Create failure MM message
|
#- name: Create failure MM message
|
||||||
if: ${{ failure() }}
|
#if: ${{ failure() }}
|
||||||
run: |
|
#run: |
|
||||||
echo "{\"text\":\":no_entry_sign: Che Server ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-server/actions/workflows/release.yml\"}" > mattermost.json
|
#echo "{\"text\":\":no_entry_sign: Che Server ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-server/actions/workflows/release.yml\"}" > mattermost.json
|
||||||
- name: Create success MM message
|
#- name: Create success MM message
|
||||||
run: |
|
#run: |
|
||||||
echo "{\"text\":\":white_check_mark: Che Server ${{ github.event.inputs.version }} has been released: https://quay.io/eclipse/che-server:${{ github.event.inputs.version }}\"}" > mattermost.json
|
#echo "{\"text\":\":white_check_mark: Che Server ${{ github.event.inputs.version }} has been released: https://quay.io/eclipse/che-server:${{ github.event.inputs.version }}\"}" > mattermost.json
|
||||||
- name: Send MM message
|
#- name: Send MM message
|
||||||
if: ${{ success() }} || ${{ failure() }}
|
#if: ${{ success() }} || ${{ failure() }}
|
||||||
uses: mattermost/action-mattermost-notify@1.1.0
|
#uses: mattermost/action-mattermost-notify@1.1.0
|
||||||
env:
|
#env:
|
||||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
|
#MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
|
||||||
MATTERMOST_CHANNEL: eclipse-che-releases
|
#MATTERMOST_CHANNEL: eclipse-che-releases
|
||||||
MATTERMOST_USERNAME: che-bot
|
#MATTERMOST_USERNAME: che-bot
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue