Skip to content

Commit

Permalink
Added the sample.json validation action
Browse files Browse the repository at this point in the history
  • Loading branch information
PaoloPia committed Jan 15, 2024
1 parent 5638844 commit 1c90bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c90bda

Please sign in to comment.