From 62e6ab2baa0ed4dbc546c04212248172a24374de Mon Sep 17 00:00:00 2001 From: Felix Leupold Date: Mon, 26 Aug 2024 19:44:39 +0200 Subject: [PATCH] Ignore removed files in CI --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f2d20e7c..89dc27f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ jobs: id: get-changed-files run: | CHANGED_FILES=$(git diff \ - --name-only ${{ github.event.before }} ${{ github.sha }} \ + --name-only --diff-filter=d ${{ github.event.before }} ${{ github.sha }} \ -- *.sql | paste -sd "," -) echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV echo "changed_files=$CHANGED_FILES" >> $GITHUB_OUTPUT