From 3823410d1a54d48329cebb464349a088b4469c87 Mon Sep 17 00:00:00 2001 From: riya-singhal31 Date: Wed, 5 Jul 2023 15:33:09 +0530 Subject: [PATCH] ci: add lint-extras github workflow Signed-off-by: riya-singhal31 --- .github/workflows/lint-extras.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/lint-extras.yaml diff --git a/.github/workflows/lint-extras.yaml b/.github/workflows/lint-extras.yaml new file mode 100644 index 000000000..6b83f9f24 --- /dev/null +++ b/.github/workflows/lint-extras.yaml @@ -0,0 +1,26 @@ +--- +name: Lint Code Base +# yamllint disable-line rule:truthy +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + test-lint: + runs-on: ubuntu-latest + + steps: + - name: checkout source + uses: actions/checkout@v3 + + - name: Lint Code Base + uses: github/super-linter@v5 + env: + FILTER_REGEX_EXCLUDE: > + (^|/)https://github.com/csi-addons/kubernetes-csi-addons/tree/main/vendor(/|$)| + (^|/)https://github.com/csi-addons/kubernetes-csi-addons/tree/main/tools/vendor(/|$)