diff --git a/.github/workflows/notify.yaml b/.github/workflows/notify.yaml index 96eedee..d084782 100644 --- a/.github/workflows/notify.yaml +++ b/.github/workflows/notify.yaml @@ -7,7 +7,7 @@ on: required: true type: string secrets: - MM_WEBHOOK_URL: + webhook: required: true jobs: @@ -16,7 +16,7 @@ jobs: steps: - uses: mattermost/action-mattermost-notify@master with: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} + 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:"