mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
dont run lint on main (#1518)
This commit is contained in:
parent
30e10e7a4a
commit
8dbbbcf1ba
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
@ -43,6 +43,7 @@ jobs:
|
||||
- name: Install pre-commit
|
||||
run: pip install pre-commit==3.7.0
|
||||
- name: Run pre-commit hooks
|
||||
if: github.ref != 'refs/heads/main'
|
||||
run: |
|
||||
git fetch https://github.com/OpenDevin/OpenDevin.git main:main && \
|
||||
pre-commit run \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user