From fd1f5bfad05516649900f4ae4a8ab4aa4b631a49 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 17 Mar 2024 14:26:32 +0100 Subject: [PATCH] ci: set DISABLE_WARN_OUTSIDE_CONTAINER=1 for CodeQL action CodeQL autobuild uses the makefile, but outside of a container, so let's set this variable to prevent it having to wait 10 seconds; Use "make dev" to start an interactive development container, use "make -f docker.Makefile " to execute this target in a container, or set DISABLE_WARN_OUTSIDE_CONTAINER=1 to disable this warning. Press Ctrl+C now to abort, or wait for the script to continue.. Signed-off-by: Sebastiaan van Stijn (cherry picked from commit b120b96ac705f585652ae8a63bff748b4c500252) Signed-off-by: Austin Vazquez --- .github/workflows/codeql-analysis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5f1868cb70..45235d29c6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -16,6 +16,9 @@ on: jobs: codeql: runs-on: ubuntu-20.04 + env: + DISABLE_WARN_OUTSIDE_CONTAINER: '1' + steps: - name: Checkout