-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip pre-commit hooks in lint-fix workflow #5164
base: main
Are you sure you want to change the base?
Conversation
git add -A | ||
git commit -m "🤖 Auto-fix linting issues" | ||
SKIP_PRE_COMMIT=1 git add -A | ||
SKIP_PRE_COMMIT=1 git commit -m "🤖 Auto-fix linting issues" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@openhands-agent
I'm looking if this variable, SKIP_PRE_COMMIT, exists. It doesn't seem so. 😅 Verify and fix this.
The macro/label run fails from the start with LLM_MODEL not found 🤔. I'm not sure why. |
Very weird, this worked on my fork: neubig#1 I'll investigate. |
Thank you, please let me know how I can help! |
Modified the lint-fix workflow to skip pre-commit hooks when committing changes. This ensures that linting fixes can be pushed even if other pre-commit checks would fail.