From bb1a3fd4b046c8b5da8d18a3a69f9cdf48690b61 Mon Sep 17 00:00:00 2001 From: Nikita Andriyanov Date: Mon, 23 Dec 2024 13:52:46 +0300 Subject: [PATCH] fix --- .github/workflows/notify.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/notify.yaml b/.github/workflows/notify.yaml index dfa6511..c51d5b0 100644 --- a/.github/workflows/notify.yaml +++ b/.github/workflows/notify.yaml @@ -7,12 +7,14 @@ on: required: true type: string jobs: - gradle-build: - uses: mattermost/action-mattermost-notify@master - with: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} - PAYLOAD: | - { - "text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:" - } + notify: + runs-on: gpu + steps: + - uses: mattermost/action-mattermost-notify@master + with: + MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} + PAYLOAD: | + { + "text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was success :white_check_mark:" + }