Skip to content

Commit

Permalink
feat: 🍓 add a GitHub Action to lint the YAML
Browse files Browse the repository at this point in the history
Add a `.yamllint` config file
Run on pull request only
  • Loading branch information
jbampton committed Dec 14, 2020
1 parent 327487a commit 918a805
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: ❄️ Lint

on: [pull_request]

jobs:
yamllint:
name: 🍺 YAML
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 🧹 YAML Lint
uses: ibiqlik/action-yamllint@v3
7 changes: 7 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---

extends: default

rules:
document-start: disable
truthy: disable

0 comments on commit 918a805

Please sign in to comment.