diff --git a/.github/workflows/lint_test.yml b/.github/workflows/lint_test.yml index a5655ec5..664502ef 100644 --- a/.github/workflows/lint_test.yml +++ b/.github/workflows/lint_test.yml @@ -46,6 +46,10 @@ jobs: # Checks out the repository in the current folder. - name: Checks out repository uses: actions/checkout@v2 + with: + fetch-depth: 2 + ref: ${{ github.head_ref }} + # Set up the right version of Python - name: Set up Python ${{ env.PYTHON_VERSION }}