Skip to content

Commit

Permalink
remove the git fetch command
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrejvr committed Aug 19, 2024
1 parent 24620b5 commit 517b93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Identify and Copy Changed .json and .xml Files
run: |
mkdir -p $PATH_TO_EXAMPLES # Create a temp folder
git fetch origin main:main
# git fetch origin main:main
git diff --name-only main | grep -E '\.(json|xml)$' | xargs -I {} cp {} $PATH_TO_EXAMPLES/
echo "Number of changed files to validate: " && ls -1 $PATH_TO_EXAMPLES | wc -l
Expand Down

0 comments on commit 517b93c

Please sign in to comment.