name: notify on: workflow_call: inputs: repository: required: true type: string 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 }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:" }