diff --git a/.github/workflows/format-python.yml b/.github/workflows/format-python.yml index 52856f8..d84f02f 100644 --- a/.github/workflows/format-python.yml +++ b/.github/workflows/format-python.yml @@ -9,6 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} - name: Format code with black run: | pip install black