diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 7f394d0..a3541b1 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -41,6 +41,6 @@ jobs: if: failure() env: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} - MATTERMOST_TEXT: "${{ github.repository }} master build. Please check [here](${{ github.event.pull_request.html_url }}/checks)." + MATTERMOST_TEXT: "${{ github.repository }} [${{ github.event.ref }}](${{ github.event.repository.html_url }}/tree/${{ github.event.ref }}) build failed." run: | send-to-mattermost diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba171b5..3114acd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,6 @@ jobs: if: failure() env: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} - MATTERMOST_TEXT: "${{ github.repository }} release build. Please check [here](${{ github.event.pull_request.html_url }}/checks)." + MATTERMOST_TEXT: "${{ github.repository }} release [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }}) build failed." run: | send-to-mattermost