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 <github@gone.nl>
(cherry picked from commit b120b96ac7)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
This commit is contained in:
Sebastiaan van Stijn 2024-03-17 14:26:32 +01:00 committed by Austin Vazquez
parent 631220fddb
commit fd1f5bfad0
No known key found for this signature in database
GPG Key ID: 5F5F4008442CADB8
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ on:
jobs:
codeql:
runs-on: ubuntu-20.04
env:
DISABLE_WARN_OUTSIDE_CONTAINER: '1'
steps:
-
name: Checkout