diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 9672e077f..07241d1a0 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -25,6 +25,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-python@v2 with: