mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-09 13:24:04 +02:00
ci: validate README TOC before merging (#1586)
This commit is contained in:
parent
a936519866
commit
34356a6b56
3 changed files with 7 additions and 12 deletions
12
.github/workflows/toc.yaml
vendored
12
.github/workflows/toc.yaml
vendored
|
|
@ -1,12 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
name: TOC Generator
|
||||
jobs:
|
||||
generateTOC:
|
||||
name: TOC Generator
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: technote-space/toc-generator@v4.3.1
|
||||
with:
|
||||
TOC_TITLE: ""
|
||||
|
|
@ -7,6 +7,12 @@ repos:
|
|||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
args: ["--fix=lf"]
|
||||
- repo: https://github.com/thlorenz/doctoc
|
||||
rev: v2.5.0
|
||||
hooks:
|
||||
- id: doctoc
|
||||
files: ^README[^/]*\.md$
|
||||
args: ["--notitle"]
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.16.5
|
||||
hooks:
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ The attributes are absent when the Adaptive Lighting switch is off. Use a fallba
|
|||
- [Additional Information](#additional-information)
|
||||
- [:sos: Troubleshooting](#sos-troubleshooting)
|
||||
- [:exclamation: Common Problems & Solutions](#exclamation-common-problems--solutions)
|
||||
- [:bulb: Lights Only Adapt After Reloading](#bulb-lights-only-adapt-after-reloading)
|
||||
- [:bulb: Lights Not Responding or Turning On by Themselves](#bulb-lights-not-responding-or-turning-on-by-themselves)
|
||||
- [:signal_strength: WiFi Networks](#signal_strength-wifi-networks)
|
||||
- [:spider_web: Zigbee, Z-Wave, and Other Mesh Networks](#spider_web-zigbee-z-wave-and-other-mesh-networks)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue