From 3d018f8ee8e6f862b5457d4937fbcd0171823be2 Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Mon, 10 Aug 2026 00:08:14 -0400 Subject: [PATCH] Replace super-linter with dedicated markdownlint and shellcheck images Super-linter pulls a 2GB+ image with dozens of linters when we only need markdown and shell script linting. The dedicated images are built and published from this repo. --- .github/linters/.markdown-lint.yml | 3 --- .github/workflows/pr.yml | 23 ++++++++++++----------- .markdownlint.yml | 4 ++++ 3 files changed, 16 insertions(+), 14 deletions(-) delete mode 100644 .github/linters/.markdown-lint.yml create mode 100644 .markdownlint.yml diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml deleted file mode 100644 index 67d2ae5..0000000 --- a/.github/linters/.markdown-lint.yml +++ /dev/null @@ -1,3 +0,0 @@ -{ - "MD013": false -} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 38d661e..bf98348 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,20 +10,21 @@ permissions: contents: read jobs: - superlinter: - name: Lint bash, docker, markdown, and yaml + lint-markdown: + name: Lint markdown runs-on: ubuntu-latest steps: - uses: actions/checkout@v6.0.2 - - name: Lint codebase - uses: docker://github/super-linter:v3.8.3 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VALIDATE_ALL_CODEBASE: true - VALIDATE_BASH: true - VALIDATE_DOCKERFILE: true - VALIDATE_MD: true - VALIDATE_YAML: true + - name: Lint markdown + uses: docker://ghcr.io/ponylang/shared-docker-ci-markdownlint:20260810 + + lint-shell: + name: Lint shell scripts + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6.0.2 + - name: Lint shell scripts + uses: docker://ghcr.io/ponylang/shared-docker-ci-shellcheck:20260810 validate-actionlint-image-builds: name: Validate actionlint Docker image builds diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..151809d --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,4 @@ +{ + "MD013": false, + "MD051": false +}