diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index ef59632e..401ba0e6 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -20,6 +20,12 @@ jobs: runs-on: ubuntu-22.04 steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + persist-credentials: false + fetch-depth: 1 # 0 if you want to push to repo + - name: Python set up uses: actions/setup-python@v5 with: @@ -41,12 +47,6 @@ jobs: hpmor.pdf key: ${{ runner.os }}-latex-cache - - name: Checkout repository - uses: actions/checkout@v4 - with: - persist-credentials: false - fetch-depth: 1 # 0 if you want to push to repo - - name: check 1 run: | ls -l hpmor.*