Skip to content

Commit

Permalink
ci: fix changed file detection (#25262)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cragun <me@ryan.ec>
  • Loading branch information
ryancragun authored Feb 7, 2024
1 parent 5b9cb33 commit 3f2f8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/changed-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if ! files="$(git diff "${base_commit}...${head_commit}" --name-only)"; then
exit 1
fi

for file in $(awk -F "/" '{ print $2}' <<< "$files" | uniq); do
for file in $(awk -F "/" '{ print $1}' <<< "$files" | uniq); do
if [[ "$file" =~ "changelog" ]]; then
continue
fi
Expand Down

0 comments on commit 3f2f8ab

Please sign in to comment.