2021-09-29 22:08:51 +02:00
---
2021-10-01 12:09:20 +02:00
# vi: ts=2 sw=2 et:
2021-10-01 12:10:22 +02:00
# SPDX-License-Identifier: LGPL-2.1-or-later
2021-09-29 22:08:51 +02:00
# https://github.com/marketplace/actions/super-linter
name : Lint Code Base
on :
pull_request :
branches :
- main
2021-11-12 17:37:15 +01:00
- v[0-9]+-stable
2021-09-29 22:08:51 +02:00
2021-11-13 22:34:04 +00:00
permissions :
contents : read
2021-11-13 14:40:20 +00:00
2021-09-29 22:08:51 +02:00
jobs :
build :
name : Lint Code Base
runs-on : ubuntu-latest
2021-11-10 16:45:12 +01:00
concurrency :
group : ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress : true
2021-09-29 22:08:51 +02:00
steps :
- name : Repo checkout
2022-05-01 09:04:12 +00:00
uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
2021-09-29 22:08:51 +02:00
with :
# We need a full repo clone
fetch-depth : 0
- name : Lint Code Base
2022-09-01 09:04:00 +00:00
uses : github/super-linter/slim@01d3218744765b55c3b5ffbb27e50961e50c33c5
2021-09-29 22:08:51 +02:00
env :
DEFAULT_BRANCH : main
2022-02-13 14:59:08 +01:00
MULTI_STATUS : false
2021-09-29 22:08:51 +02:00
# Excludes:
# - man/.* - all snippets in man pages (false positives due to
# missing shebangs)
# - .*\.(in|SKELETON) - all template/skeleton files
2022-05-22 16:20:56 +02:00
# except kernel-install
2022-08-11 10:36:02 +02:00
FILTER_REGEX_EXCLUDE : .*/(man/.*|([^k]|k(k|ek)*([^ek]|e[^kr]))*(k(k|ek)*e?)?\.(in|SKELETON))$
2021-09-29 22:08:51 +02:00
VALIDATE_ALL_CODEBASE : false
VALIDATE_BASH : true
2022-05-24 21:01:45 +02:00
VALIDATE_GITHUB_ACTIONS : true