Files
action-home-assistant/.github/workflows/lint.yaml
T
dependabot[bot] cc3990bb88 Bump frenck/action-yamllint from v1.0.1 to v1.0.2 (#12)
Bumps [frenck/action-yamllint](https://github.com/frenck/action-yamllint) from v1.0.1 to v1.0.2.
- [Release notes](https://github.com/frenck/action-yamllint/releases)
- [Commits](https://github.com/frenck/action-yamllint/compare/v1.0.1...400c8cd5cb057e97f2fbb9d1a094ad4ec368e52c)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 20:43:46 +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.3.4
- name: 🚀 Run yamllint
uses: frenck/action-yamllint@v1.0.2
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.3.4
- name: 🚀 Run Prettier
uses: creyD/prettier_action@v3.3
with:
prettier_options: --write **/*.{json,js,md,yaml}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}