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.
...
Toran Bruce Richardsbf7a52ec8c76
diff --git a/.github/workflows/auto_format.yml b/.github/workflows/auto_format.ymlindex 8bfff91c72..a620d816b9 100644--- a/.github/workflows/auto_format.yml+++ b/.github/workflows/auto_format.yml@@ -4,16 +4,17 @@ jobs:format:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v1- with:- ref: ${{ github.event.pull_request.head.ref }}+ - name: Checkout PR branch+ run: |+ git fetch origin pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }}+ git checkout ${{ github.event.pull_request.head.ref }}- name: autopep8uses: peter-evans/autopep8@v1with:args: --exit-code --recursive --in-place --aggressive --aggressive .- name: Check for modified filesid: git-check- run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> $GITHUB_OUTPUT+ run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> $GITHUB_ENV- name: Push changesif: steps.git-check.outputs.modified == 'true'run: |