From 3e47a72615b7cb778b44250e40b5b270ad3bd736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 20 Jan 2025 10:15:53 +0100 Subject: [PATCH] chore(ci): replace super-linter with hadolint All others should be taken care by pre-commit hooks. --- .github/workflows/hadolint.yml | 26 +++++++++++++++++++++ .github/workflows/super-linter.yml | 36 ------------------------------ 2 files changed, 26 insertions(+), 36 deletions(-) create mode 100644 .github/workflows/hadolint.yml delete mode 100644 .github/workflows/super-linter.yml diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml new file mode 100644 index 0000000..acd7062 --- /dev/null +++ b/.github/workflows/hadolint.yml @@ -0,0 +1,26 @@ +# Copyright © Michal Čihař +# +# SPDX-License-Identifier: CC0-1.0 + +# This file is maintained in https://github.com/WeblateOrg/meta/ +name: Hadolint + +on: + push: + branches-ignore: + - deepsource-fix-** + - renovate/** + - weblate + pull_request: + +permissions: + contents: read + +jobs: + hadolint: + + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@v4 + - uses: hadolint/hadolint-action@v3.1.0 diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml deleted file mode 100644 index 5c0290f..0000000 --- a/.github/workflows/super-linter.yml +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright © Michal Čihař -# -# SPDX-License-Identifier: CC0-1.0 - -# This file is maintained in https://github.com/WeblateOrg/meta/ -name: Lint Code Base - -on: - push: - branches-ignore: - - deepsource-fix-** - - renovate/** - - weblate - pull_request: - -permissions: - contents: read - -jobs: - build: - name: Lint Code Base - runs-on: ubuntu-24.04 - - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - - name: Lint Code Base - uses: github/super-linter/slim@v5.0.0 - env: - DEFAULT_BRANCH: main - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VALIDATE_PYTHON_ISORT: false - VALIDATE_JSCPD: false - VALIDATE_GITHUB_ACTIONS: false - VALIDATE_YAML: false