mirror of
https://github.com/esphome/esphome.git
synced 2025-08-03 00:47:47 +00:00
Fix pre-commit CI issues by switching to lite mode
This commit is contained in:
parent
d31b8ad2e2
commit
b2a781d719
20
.github/workflows/pre-commit-ci-lite.yml
vendored
Normal file
20
.github/workflows/pre-commit-ci-lite.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
name: pre-commit.ci lite
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled, opened, reopened, synchronize]
|
||||
branches-ignore:
|
||||
- beta
|
||||
- release
|
||||
|
||||
jobs:
|
||||
pre-commit-ci-lite:
|
||||
name: pre-commit.ci lite
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code from GitHub
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Run pre-commit.ci lite
|
||||
uses: pre-commit-ci/lite-action@v1.0.3
|
||||
if: always()
|
@ -4,7 +4,7 @@
|
||||
|
||||
ci:
|
||||
autoupdate_commit_msg: 'pre-commit: autoupdate'
|
||||
autoupdate_schedule: weekly
|
||||
autoupdate_schedule: off # Disabled until ruff versions are synced between deps and pre-commit
|
||||
# Skip hooks that have issues in pre-commit CI environment
|
||||
skip: [pylint, clang-tidy-hash, yamllint]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user