From 1c90bda0320b82d7cba66d7cedbc1cba222fc0bd Mon Sep 17 00:00:00 2001 From: Paolo Pialorsi Date: Mon, 15 Jan 2024 12:31:41 +0100 Subject: [PATCH] Added the sample.json validation action --- .github/workflows/validate-sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-sample.yml b/.github/workflows/validate-sample.yml index 2a77abe..09e3139 100644 --- a/.github/workflows/validate-sample.yml +++ b/.github/workflows/validate-sample.yml @@ -16,7 +16,7 @@ jobs: - name: Validate any sample.json file run: | # Find all sample.json files in the pull request - files=$(git diff --name-only origin/main...HEAD | grep 'sample.json$') + files=$(git diff --name-only | grep 'sample.json$') echo "Found sample.json files: $files" # Process each file