We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201f57f commit 3a2c704Copy full SHA for 3a2c704
.github/workflows/format_check.yml
@@ -31,7 +31,7 @@ jobs:
31
run: |
32
echo "::group::Changed Java Files"
33
echo Base Branch: ${{ github.event.pull_request.base.ref }}
34
- CHANGED_FILES=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }} | grep '\.java$' || true)
+ CHANGED_FILES=$(git diff --name-only --diff-filter=A origin/${{ github.event.pull_request.base.ref }} | grep '\.java$' || true)
35
echo "$CHANGED_FILES"
36
echo "::endgroup::"
37
# Write the multiline content to a file
0 commit comments