From e3cbd26e975bd8107ead8a3ad1b07128e137ca26 Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Fri, 26 Sep 2025 15:25:53 -0500 Subject: [PATCH] ci: Checkout repo during change detection job --- .github/workflows/filter-changes.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/filter-changes.yml b/.github/workflows/filter-changes.yml index 324cd6f..2697c12 100644 --- a/.github/workflows/filter-changes.yml +++ b/.github/workflows/filter-changes.yml @@ -19,6 +19,10 @@ jobs: ci: ${{ steps.filter.outputs.ci }} ghcr: ${{ steps.filter.outputs.ghcr }} steps: + - if: ${{ github.event_name != 'pull_request' }} + uses: actions/checkout@v4 + # Only checkout code if not a pull request + # For pull requests it's not necessary to checkout the code - uses: dorny/paths-filter@v3 id: filter