Skip to content

Commit

Permalink
Chore: CI: Fix .eslintignore and .gitignore CI check passes when it s…
Browse files Browse the repository at this point in the history
…hould fail (#10923)
  • Loading branch information
personalizedrefrigerator authored Aug 23, 2024
1 parent 700ffa2 commit 12a2602
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ fi
if [ "$IS_LINUX" == "1" ]; then
echo "Step: Checking for files that should have been ignored..."

# .gitignore and .eslintignore can be modified during yarn install. Reset them
# so that checkIgnoredFiles works.
git restore .gitignore .eslintignore

node packages/tools/checkIgnoredFiles.js
testResult=$?
if [ $testResult -ne 0 ]; then
Expand Down

0 comments on commit 12a2602

Please sign in to comment.