diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 878412a9..8e68ea79 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Check out the codebase uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ env.PYTHON_VERSION }} uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # 4.3.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 285eab8c..96a5bad9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,8 @@ jobs: steps: - name: Check out the codebase uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Configure VirtualBox run: |-