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>
This commit is contained in:
Sebastiaan van Stijn 2024-03-17 14:26:32 +01:00
parent 24186d8008
commit b120b96ac7
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ jobs:
codeql: codeql:
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
timeout-minutes: 360 timeout-minutes: 360
env:
DISABLE_WARN_OUTSIDE_CONTAINER: '1'
permissions: permissions:
actions: read actions: read
contents: read contents: read