mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix(ci): exclude date.js from doc PR git status (#108)
This commit is contained in:
2
.github/workflows/create-pr.sh
vendored
2
.github/workflows/create-pr.sh
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user