diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 7f4f2f335d..6f628ebe44 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -30,7 +30,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Workflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Nightly check failed: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } native-fuzzer: @@ -68,7 +68,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Workflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Nightly check failed: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } go-perf: @@ -96,7 +96,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Workflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Nightly check failed: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } trivy-scan-image: @@ -134,7 +134,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Workflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Nightly check failed: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } trivy-scan-repo: @@ -170,7 +170,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Workflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Nightly check failed: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } govulncheck: @@ -202,7 +202,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Workflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Nightly check failed: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } go-get-test: @@ -253,5 +253,5 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Workflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Nightly check failed: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } diff --git a/.github/workflows/release-vulnerability-check.yaml b/.github/workflows/release-vulnerability-check.yaml index 09a1ab18cd..785101caea 100644 --- a/.github/workflows/release-vulnerability-check.yaml +++ b/.github/workflows/release-vulnerability-check.yaml @@ -64,7 +64,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Vulnerabilities found in latest release: ${{ needs.fetch-release-info.outputs.release_tag }}\nWorkflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Vulnerabilities found in ${{ needs.fetch-release-info.outputs.release_tag }}: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } trivy-scan-release-images: @@ -106,7 +106,7 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Image vulnerabilities found in latest release: ${{ needs.fetch-release-info.outputs.release_tag }}\nWorkflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Image vulnerabilities found in ${{ needs.fetch-release-info.outputs.release_tag }}: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" } trivy-scan-release-repo: @@ -142,5 +142,5 @@ jobs: webhook-type: incoming-webhook payload: | { - "text": "Repository vulnerabilities found in latest release: ${{ needs.fetch-release-info.outputs.release_tag }}\nWorkflow `${{ github.workflow }}` in `${{ github.repository }}` failed with status: ${{ job.status }}" + "text": "Repository vulnerabilities found in ${{ needs.fetch-release-info.outputs.release_tag }}: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} - ${{ github.job }}>" }