From 2aab415f3d5174d1a5110c93639c8647d898c0b3 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 16 Mar 2021 18:27:41 +0100 Subject: The action to detect changes needs a repository to be checked out on push event (#22324) --- .github/workflows/unit_tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github') diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 7fcd61d9f4..b36d331f6c 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -77,6 +77,10 @@ jobs: packages: ${{ steps.filter.outputs.packages }} with_coverage: ${{ steps.coverage.outputs.with_coverage }} steps: + - uses: actions/checkout@v2 + if: ${{ github.event_name == 'push' }} + with: + fetch-depth: 0 # For pull requests it's not necessary to checkout the code - uses: dorny/paths-filter@v2 id: filter -- cgit v1.2.3-60-g2f50