File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 38
38
- name : Checkout oneDNN
39
39
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40
40
with :
41
- ref : ${{ github.event.pull_request.head.ref }}
42
41
fetch-depth : 0
43
42
repository : ${{ github.event.pull_request.head.repo.full_name }}
44
43
56
55
run : |
57
56
echo -e "Checking Clang-Tidy $(clang-tidy --version)\n"
58
57
touch source-check.log
59
- for file in $(git diff --name-only ${{ github.event.pull_request.base.sha }} | grep -E '\.cpp$');
58
+ for file in $(git diff --name-only ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request. base.sha }} | grep -E '\.cpp$');
60
59
do
61
60
if grep -q "$file" "build/compile_commands.json"; then
62
61
echo -e "\nAnalyzing $file"
74
73
run : |
75
74
echo -e "Checking Clang-Tidy $(clang-tidy --version)\n"
76
75
touch headers-check.log
77
- for file in $(git diff --name-only ${{ github.event.pull_request.base.sha }} | grep -E '\.cpp$');
76
+ for file in $(git diff --name-only ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request. base.sha }} | grep -E '\.cpp$');
78
77
do
79
78
if grep -q "$file" "build/compile_commands.json"; then
80
79
echo -e "\nAnalyzing $file"
You can’t perform that action at this time.
0 commit comments