From 34918780b91a6b75875aed4b0ca7e962978c9890 Mon Sep 17 00:00:00 2001 From: Alex Blass Date: Mon, 18 Sep 2023 19:23:58 -0400 Subject: [PATCH] fix dubious ownership error message --- distributeApp.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distributeApp.sh b/distributeApp.sh index 800df8d..aec49c0 100644 --- a/distributeApp.sh +++ b/distributeApp.sh @@ -1,5 +1,9 @@ #!/bin/sh set -e +set -o pipefail + +# Fix the unsafe repo error which was introduced by the CVE-2022-24765 git patches +git config --global --add safe.directory /github/workspace if [[ -z ${INPUT_RELEASE_NOTES} ]]; then INPUT_RELEASE_NOTES="$(git log -1 --abbrev-commit --pretty=oneline)"