Rename lint.yaml to lint_weekly.yaml

This commit is contained in:
Alexandre
2022-01-22 21:36:01 +01:00
committed by GitHub
parent ef0bded8c1
commit 43b4736602

35
.github/workflows/lint_weekly.yaml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Weekly Codebase Lint
on:
schedule:
- cron: "0 0 * * *"
jobs:
find:
name: Find add-ons
runs-on: ubuntu-latest
outputs:
addons: ${{ steps.addons.outputs.addons_list }}
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.4.0
- name: 🔍 Find add-on directories
id: addons
uses: home-assistant/actions/helpers/find-addons@master
lint:
name: Lint add-on ${{ matrix.path }}
runs-on: ubuntu-latest
needs: find
strategy:
matrix:
path: ${{ fromJson(needs.find.outputs.addons) }}
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.4.0
- name: 🚀 Run Home Assistant Add-on Lint
uses: frenck/action-addon-linter@v2.6
with:
path: "./${{ matrix.path }}"