Files
action-home-assistant/.github/workflows/lint.yaml
T
Renovate Bot a02b98af67
Lint / Prettier (pull_request) Failing after 22s
Lint / yamllint (pull_request) Successful in 1m11s
Lint / yamllint (push) Successful in 1m40s
Lint / Prettier (push) Successful in 2m55s
Test / Home Assistant Core Configuration Check (push) Successful in 7m30s
Test / Home Assistant Core Configuration Check (pull_request) Successful in 7m8s
⬆️ Update actions/checkout action to v7
2026-06-18 14:36:56 +00:00

29 lines
785 B
YAML

---
name: Lint
# yamllint disable-line rule:truthy
on: [push, pull_request, workflow_dispatch]
jobs:
yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: 🚀 Run yamllint
uses: frenck/action-yamllint@v1.5
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: 🚀 Run Prettier
uses: creyD/prettier_action@v4.6
with:
prettier_options: --write **/*.{json,js,md,yaml}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}