mirror of
https://github.com/systemd/systemd.git
synced 2025-02-14 05:57:40 +03:00
It's been a while since we introduced Differential ShellCheck and it proved to be quite useful (and in some ways even better than the shellcheck run by super-linter). So, to have only one linter scream at us for not knowing how to write bash properly, let's drop the super-linter's one in favor of Differential ShellCheck. Follow-up for https://github.com/systemd/systemd/pull/24328#pullrequestreview-1074127504
37 lines
838 B
YAML
37 lines
838 B
YAML
---
|
|
# vi: ts=2 sw=2 et:
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
# https://github.com/marketplace/actions/super-linter
|
|
name: Lint Code Base
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- v[0-9]+-stable
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: Lint Code Base
|
|
runs-on: ubuntu-latest
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
steps:
|
|
- name: Repo checkout
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
|
with:
|
|
# We need a full repo clone
|
|
fetch-depth: 0
|
|
|
|
- name: Lint Code Base
|
|
uses: github/super-linter/slim@45fc0d88288beee4701c62761281edfee85655d7
|
|
env:
|
|
DEFAULT_BRANCH: main
|
|
VALIDATE_ALL_CODEBASE: false
|
|
VALIDATE_GITHUB_ACTIONS: true
|