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.

Updates auto format workflow to work with forks. (in the correct branch now)

Toran Bruce Richardsdfd324a079e8
diff --git a/.github/workflows/auto_format.yml b/.github/workflows/auto_format.yml
index 66c559e796..8bfff91c72 100644
--- a/.github/workflows/auto_format.yml
+++ b/.github/workflows/auto_format.yml
@@ -6,7 +6,7 @@ jobs:
steps:
- uses: actions/checkout@v1
with:
- ref: ${{ github.head_ref }}
+ ref: ${{ github.event.pull_request.head.ref }}
- name: autopep8
uses: peter-evans/autopep8@v1
with: