Skip to content

Commit 43c8fa9

Browse files
authored
Merge pull request #10086 from The-OpenROAD-Project-staging/scope-ok-checking
Only check tracked .ok files
2 parents d34d035 + 05abe0f commit 43c8fa9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/github-actions-are-differences-found.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
fetch-depth: 0
1414
- name: Check ok files
1515
run: |
16-
set +e
17-
grep --include="*.ok" -Rn "Differences found "
18-
if [[ "$?" == "0" ]]; then
16+
if git ls-files '*.ok' | xargs grep -n "Differences found "; then
1917
exit 1
2018
fi

0 commit comments

Comments
 (0)