]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔧 Set the branch to pull
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 15 Aug 2024 01:18:39 +0000 (20:18 -0500)
committerSebastián Ramírez <tiangolo@gmail.com>
Thu, 15 Aug 2024 01:18:39 +0000 (20:18 -0500)
.github/workflows/autofix.yml

index 9539cc6139b65e21ccae4b168d3063edcf4a29af..aabea9bc463f60787c2c5da19795529d06dbcabc 100644 (file)
@@ -14,6 +14,8 @@ jobs:
           GITHUB_CONTEXT: ${{ toJson(github) }}
         run: echo "$GITHUB_CONTEXT"
       - uses: actions/checkout@v4
+        with:
+          ref: ${{ github.event.pull_request.head.sha }}
       - name: Set up Python
         uses: actions/setup-python@v5
         with: