From d4548d73d56ad6616d50781496c68a596ff290e5 Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Fri, 20 Oct 2023 15:14:11 -0400 Subject: [PATCH] ci: checkout code for filters to work with non-PRs --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af0e3a5bc3..e255414579 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,9 @@ jobs: needs_build: ${{ steps.filter.outputs.needs_build }} templates: ${{ steps.filter.outputs.templates }} steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 25 - uses: dorny/paths-filter@v2 id: filter with: