Files
action-home-assistant/.github/workflows/lint.yaml
T
dependabot[bot] 4262b2dad7 Bump creyD/prettier_action from 4.0 to 4.1.1 (#42)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-07 08:23:29 +01:00

29 lines
701 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@v2.4.0
- name: 🚀 Run yamllint
uses: frenck/action-yamllint@v1.1
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.4.0
- name: 🚀 Run Prettier
uses: creyD/prettier_action@v4.1.1
with:
prettier_options: --write **/*.{json,js,md,yaml}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}