summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2020-03-04 16:21:39 -0500
committerGitHub <noreply@github.com>2020-03-04 16:21:39 -0500
commitf51be629578af6f4e9ac41209d05adb4a63c4aee (patch)
tree560be6ee7f9ea5f850cd0e65700450c6cd7ac15d /.github
parentebe6af9215e3f849139b1a439e0927f6a2824ba4 (diff)
Add yamllint to reviewdog PR checks. (#8291)
Diffstat (limited to '.github')
-rw-r--r--.github/CODEOWNERS1
-rw-r--r--.github/workflows/reviewdog.yml17
2 files changed, 16 insertions, 2 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 55eba68c6a..a258263520 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -51,6 +51,7 @@ Dockerfile.* @Ferroin @knatsakis @ncmans @prologic @cosmix
.csslintrc @cosmix @Ferroin @knatsakis @ncmans @prologic
.codeclimate.yml @cosmix @Ferroin @knatsakis @ncmans @prologic
.codacy.yml @cosmix @Ferroin @knatsakis @ncmans @prologic
+.yamllint.yml @cosmix @Ferroin @knatsakis @ncmans @prologic
Dockerfile @Ferroin @knatsakis @ncmans @prologic @cosmix
netdata.spec.in @cosmix @Ferroin @knatsakis @ncmans @prologic
netdata-installer.sh @cosmix @Ferroin @knatsakis @ncmans @prologic
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
index a5bdccedca..54024212e5 100644
--- a/.github/workflows/reviewdog.yml
+++ b/.github/workflows/reviewdog.yml
@@ -2,7 +2,7 @@ name: reviewdog
on: [pull_request]
jobs:
eslint:
- name: runner / eslint
+ name: eslint
runs-on: ubuntu-latest
steps:
- name: Git clone repository
@@ -15,7 +15,7 @@ jobs:
eslint_flags: '.'
shellcheck:
- name: runner / shellcheck
+ name: shellcheck
runs-on: ubuntu-latest
steps:
- name: Git clone repository
@@ -28,3 +28,16 @@ jobs:
path: "."
pattern: "*.sh*"
exclude: "./.git/*"
+
+ yamllint:
+ name: yamllint
+ runs-on: ubuntu-latest
+ steps:
+ - name: Git clone repository
+ uses: actions/checkout@v2
+ - name: yamllint
+ uses: reviewdog/action-yamllint@v1
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ reporter: github-pr-check
+ yamllintdd_flags: '.yamllint.yml .travis.yml .github/workflows/*.yml'