diff --git a/.github/workflows/close-main-pr.yaml b/.github/workflows/close-main-pr.yaml index 0dc71e8..fb6cfe3 100644 --- a/.github/workflows/close-main-pr.yaml +++ b/.github/workflows/close-main-pr.yaml @@ -10,6 +10,11 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event.pull_request.base.ref == 'main' }} steps: + - uses: actions/checkout@v3 + with: + token: ${{ secrets.MY_PAT }} + fetch-depth: 0 + - name: Check PR details id: pr-details run: |