Skip to content

Commit fc6169f

Browse files
committed
ci: improve kernel-sync by including a diff
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
1 parent 1f3c3cc commit fc6169f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/kernel.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,11 @@ jobs:
1818
- run: |
1919
cp -r linux/rust/pin-init .
2020
cd pin-init
21-
git diff --quiet && git diff --cached --quiet && [ -z "$(git ls-files --others --exclude-standard)" ]
21+
if ! git diff --quiet ; then
22+
git diff
23+
false
24+
fi
25+
if [ -n "$(git ls-files --others --exclude-standard)" ]; then
26+
git status
27+
false
28+
fi

0 commit comments

Comments
 (0)