From 50329656fbda4673251aa98e3b3bee9c48487cdc Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Mon, 27 Mar 2023 15:20:28 +0200 Subject: [PATCH] fix(ci): exclude date.js from doc PR git status (#108) --- .github/workflows/create-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-pr.sh b/.github/workflows/create-pr.sh index 3ae8fba..634661c 100644 --- a/.github/workflows/create-pr.sh +++ b/.github/workflows/create-pr.sh @@ -23,7 +23,7 @@ cp -r "$SOURCE_FOLDER/." "$CLONE_DIR/$DESTINATION_FOLDER/" echo "Adding files" git add . -if git status | grep -q "Changes to be committed" +if git status -- ":!date.js" | grep -q "Changes to be committed" then echo "Adding git commit" git commit -m "$COMMIT_MESSAGE"