use 🚫 or ... (#747)

* use 🚫 or  when announcing pass/fail in MM

Change-Id: I0870d567865ef4ad52a87aaa436e14c426adfa46
Signed-off-by: nickboldt <nboldt@redhat.com>

* #19334 use mattermost/action-mattermost-notify@1.0.2 instead of master

Signed-off-by: nickboldt <nboldt@redhat.com>
pull/748/head
Nick Boldt 2021-03-30 02:41:46 -04:00 committed by GitHub
parent ef794e2384
commit 3b00a575f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -96,13 +96,13 @@ jobs:
- name: Create failure MM message
if: ${{ failure() }}
run: |
echo "{\"text\":\":building_construction: Che Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release.yml\"}" > mattermost.json
echo "{\"text\":\":no_entry_sign: Che Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release.yml\"}" > mattermost.json
- name: Create success MM message
run: |
echo "{\"text\":\":building_construction: Che Operator ${{ github.event.inputs.version }} release PR have been created: https://github.com/eclipse-che/che-operator/pulls/che-bot\"}" > mattermost.json
echo "{\"text\":\":white_check_mark: Che Operator ${{ github.event.inputs.version }} release PR have been created: https://github.com/eclipse-che/che-operator/pulls/che-bot\"}" > mattermost.json
- name: Send MM message
if: ${{ success() }} || ${{ failure() }}
uses: mattermost/action-mattermost-notify@master
uses: mattermost/action-mattermost-notify@1.0.2
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_CHANNEL: eclipse-che-releases