add sample

This commit is contained in:
2024-12-23 12:50:22 +03:00
parent 8b04f64c74
commit 04c647d394

16
.github/workflows/notify.yaml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: notify
on:
workflow_call:
jobs:
gradle-build:
runs-on: ubuntu-latest
steps:
- uses: mattermost/action-mattermost-notify@master
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
PAYLOAD: |
{
"text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:"
}