From 9ca4b2ad5cf7f19b6cc0a6338884f60d69d162fe Mon Sep 17 00:00:00 2001 From: Mary Marchini Date: Tue, 11 Aug 2020 14:29:43 -0700 Subject: [PATCH] build: add CODEOWNERS linter action PR-URL: https://github.com/nodejs/node/pull/34739 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: David Carlier Reviewed-By: Ruben Bridgewater --- .github/CODEOWNERS | 5 ++--- .github/workflows/linters.yml | 8 ++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 110a13c1e2f706..7e9b30e2bc3782 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -38,7 +38,7 @@ /lib/internal/net.js @nodejs/net /lib/internal/socket_list.js @nodejs/net /lib/internal/js_stream_socket.js @nodejs/net -/src/cares_wrap.h @nodejs/net +/src/cares_wrap.cc @nodejs/net /src/connect_wrap.* @nodejs/net /src/connection_wrap.* @nodejs/net /src/node_sockaddr* @nodejs/net @@ -58,7 +58,6 @@ /deps/llhttp/* @nodejs/http @nodejs/net /doc/api/http.md @nodejs/http @nodejs/net -/doc/api/http2.md @nodejs/http @nodejs/net /lib/_http_* @nodejs/http @nodejs/net /lib/http.js @nodejs/http @nodejs/net /lib/https.js @nodejs/crypto @nodejs/net @nodejs/http @@ -68,7 +67,7 @@ # http2 /deps/nghttp2/* @nodejs/http2 @nodejs/net -/doc/api/http2.md @nodejs/http2 @nodejs/net +/doc/api/http2.md @nodejs/http2 @nodejs/http @nodejs/net /lib/http2.js @nodejs/http2 @nodejs/net /lib/internal/http2/* @nodejs/http2 @nodejs/net /src/node_http2* @nodejs/http2 @nodejs/net diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 2a9a722e9c0bfc..3cd4def9f986bc 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -77,3 +77,11 @@ jobs: run: | make lint-py-build || true NODE=$(which node) make lint-py + + lint-codeowners: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: mszostok/codeowners-validator@v0.4.0 + with: + checks: "files,duppatterns"