From ff1a5cf379281b4113d4215ab55e26b34494b8bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 7 Nov 2024 14:24:55 +0100 Subject: [PATCH] chore: only run the reaper if the core module is modified --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ad4248dab..b48403fb4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,8 @@ jobs: # The job below is a copy of the job above, but with ryuk disabled. # It's executed in the first stage to avoid concurrency issues. test-reaper-off: + # the core module is identified by the empty string (the root path) + if: ${{ contains(needs.detect-modules.outputs.modules, '') }} needs: lint name: "Test with reaper off" strategy: @@ -85,6 +87,8 @@ jobs: # The job below is a copy of the job above, but with Docker rootless. # It's executed in the first stage to avoid concurrency issues. test-rootless-docker: + # the core module is identified by the empty string (the root path) + if: ${{ contains(needs.detect-modules.outputs.modules, '') }} needs: lint name: "Test with Rootless Docker" strategy: