Files
workflows/.github/workflows/notify.yaml
2024-12-23 14:20:43 +03:00

21 lines
508 B
YAML

name: notify
on:
workflow_call:
inputs:
needs:
required: true
type: string
jobs:
notify:
runs-on: gpu
steps:
- uses: mattermost/action-mattermost-notify@master
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.webhook }}
PAYLOAD: |
{
"text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was success :white_check_mark:"
}