Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tasks/lint/super-linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ if [ "$NATIVE" = "true" ]; then
git ls-files
else
if [ -n "$_MERGE_BASE" ]; then
# Files changed in the PR + uncommitted changes
# Files changed in the PR + uncommitted (staged and unstaged) changes
{
git diff --name-only --diff-filter=d "$_MERGE_BASE"...HEAD
git diff --name-only --diff-filter=d
git diff --name-only --diff-filter=d --cached
} | sort -u
else
# No merge base found (e.g. shallow clone), fall back to all files
Expand Down
Loading