From c11600d0eaab75706162b261d418dfb3033323ef Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 18 Dec 2025 08:52:00 +0100 Subject: [PATCH] ci: tighten hadolint and codeql security checks - Fail Hadolint on warnings and errors - Enable extended and security-and-quality CodeQL queries https://chatgpt.com/share/6943b12d-2c84-800f-b63d-68e4d1db6d0a --- .github/workflows/lint-docker.yml | 2 +- .github/workflows/security-codeql.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-docker.yml b/.github/workflows/lint-docker.yml index 5d42e36e7c..7df836d64b 100644 --- a/.github/workflows/lint-docker.yml +++ b/.github/workflows/lint-docker.yml @@ -34,7 +34,7 @@ jobs: dockerfile: ./Dockerfile format: sarif output-file: hadolint-results.sarif - no-fail: true + failure-threshold: warning - name: Upload analysis results to GitHub uses: github/codeql-action/upload-sarif@v3 diff --git a/.github/workflows/security-codeql.yml b/.github/workflows/security-codeql.yml index 3c31ca32d2..b55235231c 100644 --- a/.github/workflows/security-codeql.yml +++ b/.github/workflows/security-codeql.yml @@ -75,7 +75,7 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality + queries: security-extended,security-and-quality # If the analyze step fails for one of the languages you are analyzing with # "We were unable to automatically build your code", modify the matrix above