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/benchmark): Mitigate VCS conflicts with files in data branch

Reinier van der Leer784e2bbb1c15
diff --git a/.github/workflows/autogpts-benchmark.yml b/.github/workflows/autogpts-benchmark.yml
index 10efbc5307..9403f4385c 100644
--- a/.github/workflows/autogpts-benchmark.yml
+++ b/.github/workflows/autogpts-benchmark.yml
@@ -68,6 +68,9 @@ jobs:
- name: Push reports to data branch
run: |
+ # BODGE: Remove success_rate.json and regression_tests.json to avoid conflicts on checkout
+ rm ${{ env.REPORTS_FOLDER }}/*.json
+
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git fetch origin ${{ env.REPORTS_BRANCH }}:${{ env.REPORTS_BRANCH }} \