mirror of
https://github.com/esphome/esphome.git
synced 2025-08-03 00:47:47 +00:00
try another way
This commit is contained in:
parent
b2a781d719
commit
30e4edc1ea
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -573,6 +573,25 @@ jobs:
|
||||
./script/test_build_components -e compile -c $component
|
||||
done
|
||||
|
||||
pre-commit-ci-lite:
|
||||
name: pre-commit.ci lite
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- common
|
||||
if: github.event_name == 'pull_request' && github.base_ref != 'beta' && github.base_ref != 'release'
|
||||
steps:
|
||||
- name: Check out code from GitHub
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Restore Python
|
||||
uses: ./.github/actions/restore-python
|
||||
with:
|
||||
python-version: ${{ env.DEFAULT_PYTHON }}
|
||||
cache-key: ${{ needs.common.outputs.cache-key }}
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
- name: Run pre-commit.ci lite
|
||||
uses: pre-commit-ci/lite-action@v1.0.3
|
||||
if: always()
|
||||
|
||||
ci-status:
|
||||
name: CI Status
|
||||
runs-on: ubuntu-24.04
|
||||
|
20
.github/workflows/pre-commit-ci-lite.yml
vendored
20
.github/workflows/pre-commit-ci-lite.yml
vendored
@ -1,20 +0,0 @@
|
||||
---
|
||||
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()
|
Loading…
x
Reference in New Issue
Block a user