From d4ac8712f98bc5363075fc6a47394cca53871e7d Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Mon, 7 Oct 2024 09:58:52 -0500 Subject: [PATCH] Use tj-actions/changed-files --- .github/workflows/check-image-metadata.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-image-metadata.yaml b/.github/workflows/check-image-metadata.yaml index 6eca5b0..6f2249a 100644 --- a/.github/workflows/check-image-metadata.yaml +++ b/.github/workflows/check-image-metadata.yaml @@ -30,8 +30,11 @@ jobs: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@v14 - uses: DeterminateSystems/magic-nix-cache-action@v8 - - id: files - uses: jitterbit/get-changed-files@v1 + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@v45 + - run: | + echo "Changed files: ${{ steps.changed-files.outputs.all_changed_files }}" - name: Check image metadata run: | - nix develop --command nu check-image-metadata.nu ${{ steps.files.outputs.all }} + nix develop --command nu check-image-metadata.nu ${{ steps.changed-files.outputs.all_changed_files }}