From 0b358b6c70748ae665f17bbb7fab5b0464a49ea0 Mon Sep 17 00:00:00 2001 From: Bella Date: Tue, 10 Mar 2020 11:43:39 -0400 Subject: [PATCH] remove backticks for safety --- scripts/hookName.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hookName.sh b/scripts/hookName.sh index fb67750c..532eefcd 100755 --- a/scripts/hookName.sh +++ b/scripts/hookName.sh @@ -1,3 +1,3 @@ #!/bin/bash BRANCH="$(git branch 2>/dev/null | grep '^*' | colrm 1 2)" -curl -H "Content-Type: application/json" -X POST -d '{"username": "Github Actions", "content": "**Branch:** `'$BRANCH'`"}' "$WEBHOOK" +curl -H "Content-Type: application/json" -X POST -d '{"username": "Github Actions", "content": "**Branch:** '$BRANCH'"}' "$WEBHOOK"