ci: add super-linter (soft launch)#18
Conversation
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter BIOME_FORMATCHECKOVGITHUB_ACTIONS_ZIZMORJSCPDTRIVY |
af091ce to
e87cdf1
Compare
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter BIOME_FORMATCHECKOVJSCPDTRIVY |
e87cdf1 to
38f20d9
Compare
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter CHECKOVJSCPDTRIVY |
38f20d9 to
7792cc8
Compare
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter CHECKOVTRIVY |
7792cc8 to
2ad4375
Compare
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter CHECKOVTRIVY |
CHECKOV CKV_DOCKER_2 (HEALTHCHECK) and CKV_DOCKER_3 (USER) plus TRIVY DS-0002 (non-root) flagged the Dockerfile(s). Fix without changing runtime behaviour: - HEALTHCHECK: TCP socket check on the listening port via Python stdlib — no extra runtime deps. - USER 1000:1000: chown /app first so the app can still write to any data dirs it expects.
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINT |
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINT |
1f7bad6 to
45ec4f3
Compare
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINT |
…flows
CHECKOV CKV2_GHA_1 ("top-level permissions not set to write-all") fires
on workflows without an explicit top-level permissions block. Add the
GitHub-recommended least-privilege default; per-job overrides remain
intact and take precedence at runtime.
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINTGITHUB_ACTIONSGITHUB_ACTIONS_ZIZMORYAML_PRETTIER |
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINTGITHUB_ACTIONSGITHUB_ACTIONS_ZIZMOR |
…ions - zizmor --fix=all: adds 'persist-credentials: false' to actions/checkout invocations (artipacked audit) and other safe security fixes. - prettier --write: normalises workflow YAML formatting (YAML_PRETTIER). - ensures top-level 'permissions: contents: read' on every workflow (CKV2_GHA_1).
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINTGITHUB_ACTIONSGITHUB_ACTIONS_ZIZMOR |
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINTGITHUB_ACTIONSGITHUB_ACTIONS_ZIZMOR |
Resolves zizmor's unpinned-uses audit. Each 'uses: $action@$tag' is replaced with 'uses: $action@$sha # $tag' (the Renovate-friendly convention — Renovate bumps both atomically when tags move). Run via pinact.
54f0e91 to
d9746ce
Compare
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINTGITHUB_ACTIONSGITHUB_ACTIONS_ZIZMOR |
… SHA - Top-level permissions reduced to 'contents: read' (least-privilege). - Job-level adds 'statuses: write' + 'pull-requests: write' for super-linter. - Bumped LukeEvansTech/shared-workflows pin to current v1 SHA. Resolves zizmor excessive-permissions on the lint.yml caller.
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter DOCKERFILE_HADOLINTGITHUB_ACTIONSGITHUB_ACTIONS_ZIZMOR |
Adds soft-launched super-linter via the shared reusable workflow at
LukeEvansTech/shared-workflows@v1. Lint findings appear in the workflow step summary and as a PR comment; failures do not block merges. See https://github.com/LukeEvansTech/shared-workflows/blob/main/docs/spec.md.