diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index c96fbd7..fbec85c 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -18,15 +18,12 @@ jobs: name: Check infrastructure definitions runs-on: ubuntu-latest steps: - - name: Checkout target + - name: Checkout uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.base.ref }} - - name: Checkout PR - uses: actions/checkout@v3 - with: - clean: false + - name: Fetch target + run: | + git fetch --no-tags --progress --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.ref }} - run: | echo !${{ github.event.pull_request.base.repo }} !${{ github.event.pull_request.base.sha }}