From 108627f41e5712f8913776307e6c38e69699c105 Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Sun, 2 Apr 2023 14:20:23 +0200 Subject: [PATCH] fix(ci): exclude date.js from doc PR git status --- .github/workflows/create-pr.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-pr.sh b/.github/workflows/create-pr.sh index 634661c..b84d341 100644 --- a/.github/workflows/create-pr.sh +++ b/.github/workflows/create-pr.sh @@ -23,7 +23,9 @@ cp -r "$SOURCE_FOLDER/." "$CLONE_DIR/$DESTINATION_FOLDER/" echo "Adding files" git add . -if git status -- ":!date.js" | grep -q "Changes to be committed" +echo "Git status:" +git status -- ":!pages/eluna/date.js" +if git status -- ":!pages/eluna/date.js" | grep -q "Changes to be committed" then echo "Adding git commit" git commit -m "$COMMIT_MESSAGE"