From a6a0fb5ac6cf7a871dab47176c4c99f9073f3c11 Mon Sep 17 00:00:00 2001 From: Manuel Ruck Date: Sun, 22 Sep 2024 14:22:39 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20only=20build=20since=20las?= =?UTF-8?q?t=20master=20instead=20of=20last=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Ruck --- .github/workflows/get-changed-services.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/get-changed-services.yaml b/.github/workflows/get-changed-services.yaml index 22727e6e..0ad061d4 100644 --- a/.github/workflows/get-changed-services.yaml +++ b/.github/workflows/get-changed-services.yaml @@ -23,16 +23,8 @@ jobs: run_install: false - run: | - SINCE=$(git rev-list --tags --max-count=1) - echo SINCE=$SINCE >> $GITHUB_OUTPUT - echo SINCE=$SINCE - id: since - - - run: | - pnpm list -r --json --filter "...[$SINCE]" --changed-files-ignore-pattern="**/(garden.yml|.dockerignore)" | jq '[.[] | select(.private == false) | {name, path}]' > ./tmp.json + pnpm list -r --json --filter "...[master]" --changed-files-ignore-pattern="**/(garden.yml|.dockerignore)" | jq '[.[] | select(.private == false) | {name, path}]' > ./tmp.json CHANGED_PACKAGES=$(jq '[.[] | .name]' ./tmp.json) echo CHANGED_PACKAGES=$CHANGED_PACKAGES >> $GITHUB_OUTPUT echo CHANGED_PACKAGES=$CHANGED_PACKAGES id: changed-packages - env: - SINCE: ${{ steps.since.outputs.SINCE }}