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.

CI: set base repo before `gh pr checkout` (#4363)

merwanehamadi9c7f5671e6ce
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1ff894ed8b..94c963a4c6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -117,6 +117,7 @@ jobs:
git diff --cached --quiet tests && echo "No changes to commit" && exit 0
find tests -type f -name '*.yaml' -print0 | xargs -0 git add
echo '${{ secrets.PAT_REVIEW }}' | gh auth login --with-token
+ gh repo set-default ${{ github.repository }}
gh pr checkout ${{ github.event.pull_request.number }}
git config --global user.name "Auto-GPT-Bot"
git config --global user.email "[email protected]"