From 964a1ff59b3b48d4132f074ece5591f89de33ad6 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Tue, 29 Aug 2023 02:42:18 +0100 Subject: [PATCH] fix? --- .github/workflows/infra.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 }}