You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pre-commit.yml
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,21 @@ jobs:
36
36
**/requirements*.txt
37
37
.pre-commit-config.yaml
38
38
39
+
# npm ci may fail -
40
+
# npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
# ui-prettier and ui-eslint are disabled until we can avoid `npm ci`, which is slow and may fail -
150
+
# npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
echo "::error file=$file,line=$line_num::Do not use 'import logging' or 'from logging import' in $file. Use the custom log instead: from llama_stack.log import get_logger; logger = get_logger(). If direct logging is truly needed, add: # allow-direct-logging"
189
+
done <<< "$matches"
190
+
exit 1
191
+
fi
192
+
exit 0
163
193
164
194
ci:
165
195
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
0 commit comments