From 00e37eb467338012c405674a8db160228dc3e1e4 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 6 Mar 2026 21:02:40 +0100 Subject: [PATCH] ci: Include commit message in success/failure notification --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92e5bbb..2eb7688 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,7 +124,7 @@ jobs: -H "Tags: white_check_mark" \ -H "Actions: view, Open workflow run, ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \ -H "Markdown: yes" \ - -d "Commit \`${GITHUB_SHA::7}\` deployed successfully." \ + -d $'Commit `'"${GITHUB_SHA::7}"$'` deployed successfully.\n\n> ${{ github.event.head_commit.message }}' \ https://ntfy.sh/splitleaf - name: Notify failure if: needs.await-deploy.result == 'failure' @@ -135,5 +135,5 @@ jobs: -H "Tags: rotating_light" \ -H "Actions: view, Open workflow run, ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \ -H "Markdown: yes" \ - -d "Commit \`${GITHUB_SHA::7}\` failed to deploy." \ + -d $'Commit `'"${GITHUB_SHA::7}"$'` failed to deploy.\n\n> ${{ github.event.head_commit.message }}' \ https://ntfy.sh/splitleaf