From 918a805bac43ad9db27162f6ecb4913cbfe869fe Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 15 Dec 2020 08:56:05 +1000 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8D=93=20add=20a=20GitHub=20Actio?= =?UTF-8?q?n=20to=20lint=20the=20YAML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a `.yamllint` config file Run on pull request only --- .github/workflows/lint.yml | 12 ++++++++++++ .yamllint | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/lint.yml create mode 100644 .yamllint diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000000000..b85863ddf3d0d90 --- /dev/null +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.yamllint b/.yamllint new file mode 100644 index 000000000000000..bdf45218217052e --- /dev/null +++ b/.yamllint @@ -0,0 +1,7 @@ +--- + +extends: default + +rules: + document-start: disable + truthy: disable