Skip to content

Commit

Permalink
fix git diff command
Browse files Browse the repository at this point in the history
  • Loading branch information
NiniOak committed Sep 18, 2023
1 parent c780302 commit bc40208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/filter_changed_files_go_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set -euo pipefail

# Get the list of changed files
files_to_check=$(git diff --name-only main...$BRANCH)
files_to_check=$(git diff --name-only "$(git merge-base origin/$BRANCH HEAD~)"...HEAD $*)

# Define the directories to check
skipped_directories=("docs/" "ui/" "website/" "grafana/" ".github/")
Expand Down

0 comments on commit bc40208

Please sign in to comment.