2021-09-29 20:08:51 +00:00
|
|
|
---
|
2021-10-01 10:09:20 +00:00
|
|
|
# vi: ts=2 sw=2 et:
|
2021-10-01 10:10:22 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2021-09-29 20:08:51 +00:00
|
|
|
# https://github.com/marketplace/actions/super-linter
|
|
|
|
name: Lint Code Base
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
2021-11-12 16:37:15 +00:00
|
|
|
- v[0-9]+-stable
|
2021-09-29 20:08:51 +00:00
|
|
|
|
2021-11-13 22:34:04 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
2021-11-13 14:40:20 +00:00
|
|
|
|
2021-09-29 20:08:51 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Lint Code Base
|
|
|
|
runs-on: ubuntu-latest
|
2021-11-10 15:45:12 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
2021-09-29 20:08:51 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Repo checkout
|
2024-03-13 16:48:43 +00:00
|
|
|
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
|
2021-09-29 20:08:51 +00:00
|
|
|
with:
|
|
|
|
# We need a full repo clone
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Lint Code Base
|
2024-05-02 07:53:43 +00:00
|
|
|
uses: super-linter/super-linter/slim@4e51915f4a812abf59fed160bb14595c0a38a9e7
|
2021-09-29 20:08:51 +00:00
|
|
|
env:
|
|
|
|
DEFAULT_BRANCH: main
|
2024-05-02 07:45:02 +00:00
|
|
|
MULTI_STATUS: false
|
2021-09-29 20:08:51 +00:00
|
|
|
VALIDATE_ALL_CODEBASE: false
|
2022-05-24 19:01:45 +00:00
|
|
|
VALIDATE_GITHUB_ACTIONS: true
|