Skip to content

Commit

Permalink
Fix CI git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Jun 4, 2023
1 parent 4c11b21 commit 3e5868f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e5868f

Please sign in to comment.