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:" + }