Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix CI git diff

Reinier van der Leer3e5868f2237c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9ed1ed7616..90a8c54c48 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -177,10 +177,10 @@ jobs:
fi
cd tests/Auto-GPT-test-cassettes
- git fetch origin $cassette_source_branch
+ git fetch origin $cassette_source_branch:$cassette_source_branch
# Commit & push changes to cassettes if any
- if ! git diff-index --quiet $cassette_source_branch; then
+ if ! git diff-index --quiet $cassette_source_branch --; then
if ! [ "$cassette_branch" = "$cassette_source_branch" ]; then
git checkout -b $cassette_branch
fi