Skip to content

Commit

Permalink
ci: add lint-extras github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: riya-singhal31 <[email protected]>
  • Loading branch information
riya-singhal31 committed Jul 10, 2023
1 parent 4932221 commit d3d5994
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/lint-extras.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
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: super-linter/super-linter/slim@v5
env:
LINTER_RULES: |
golangci-lint:
enabled: false
FILTER_REGEX_EXCLUDE: >
(.*vendor/.*)|(.*tools/vendor/.*)
VALIDATE_YAML: false
VALIDATE_DOCKERFILE_HADOLINT: false
VALIDATE_JSCPD: false
VALIDATE_MARKDOWN: false
VALIDATE_KUBERNETES_KUBECONFORM: false
VALIDATE_PROTOBUF: false

0 comments on commit d3d5994

Please sign in to comment.