Skip to content

Commit

Permalink
name the var to file_config for clarity
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Jun 7, 2024
1 parent 6c998d5 commit 6cc80ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync-files/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ runs:
rm -rf /tmp/repository
git clone --depth 1 "$repository" /tmp/repository ${git_options[@]}
for dest_file in $(yq ".files[].dest" /tmp/repo-config.yaml); do
yq ".files[] | select(.dest == \"$dest_file\")" /tmp/repo-config.yaml > /tmp/file-config.yaml
for file_config in $(yq ".files[].dest" /tmp/repo-config.yaml); do
yq ".files[] | select(.dest == \"$file_config\")" /tmp/repo-config.yaml > /tmp/file-config.yaml
source_path=$(yq ".source" /tmp/file-config.yaml)
dest_path=$(yq ".dest" /tmp/file-config.yaml)
Expand Down

0 comments on commit 6cc80ac

Please sign in to comment.