Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
license-check:
name: License Check
uses: ./.github/workflows/license_check.yml
link-check:
name: Link Check
uses: ./.github/workflows/link_check.yml
registry-check:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
name: Registry Check
uses: ./.github/workflows/esp_registry.yml
with: { dry_run: true }
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/link_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Link Check
on:
workflow_call: {}
workflow_dispatch: {}
jobs:
check-links:
name: Link Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore lychee cache
uses: actions/cache@v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: Run lychee
uses: lycheeverse/lychee-action@v2
with:
args: "--verbose --no-progress --cache --max-cache-age 1d ."
fail: true
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ coverage_report/
.vscode

# Doxygen
docs/output
docs/output

# Lychee
.lycheecache
3 changes: 2 additions & 1 deletion licenserc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ excludes = [
"CMakeLists.txt",
"idf_component.yml",
"license.txt",
"Kconfig"
"Kconfig",
"lychee.toml"
]

[properties]
Expand Down
3 changes: 3 additions & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude_path = ["docs/customization/*"]
cache = true
max_cache_age = "1d"
Loading