Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .evergreen/scripts/create-spec-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ if [ -n "$bot_id" ]; then
fi

git add ./test

if git diff --cached --quiet && git diff --quiet --ignore-submodules=dirty; then
echo "No spec changes to commit; skipping PR creation."
cat "$1"
exit 0
fi

git commit -am "resyncing specs $(date '+%m-%d-%Y')"
echo "Creating the git checkout... done."

Expand Down
Loading