diff options
author | Reinier van der Leer <github@pwuts.nl> | 2023-06-04 02:11:32 +0200 |
---|---|---|
committer | Reinier van der Leer <github@pwuts.nl> | 2023-06-04 02:40:51 +0200 |
commit | 3e5868f2237cd8cd977c89d53f7f2f959905b715 (patch) | |
tree | cb21903c6f6151217afd0f957c10ff1f4b02fabb | |
parent | Fix CI git authorization (diff) | |
download | Auto-GPT-3e5868f2237cd8cd977c89d53f7f2f959905b715.tar.gz Auto-GPT-3e5868f2237cd8cd977c89d53f7f2f959905b715.tar.bz2 Auto-GPT-3e5868f2237cd8cd977c89d53f7f2f959905b715.zip |
Fix CI git diff
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ed1ed761..90a8c54c4 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 |