diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index aabea9bc4..770475c0f 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -15,7 +15,7 @@ jobs: run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.sha }} + ref: ${{ github.head_ref }} - name: Set up Python uses: actions/setup-python@v5 with: