diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c994fe47..28e2a2837 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -146,6 +146,7 @@ jobs: with: fetch-depth: 0 persist-credentials: false + ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2