Skip to content

Commit

Permalink
ci: set DISABLE_WARN_OUTSIDE_CONTAINER=1 for CodeQL action
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit b120b96)
Signed-off-by: Austin Vazquez <[email protected]>
  • Loading branch information
thaJeztah authored and austinvazquez committed Jul 23, 2024
1 parent 631220f commit fd1f5bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
jobs:
codeql:
runs-on: ubuntu-20.04
env:
DISABLE_WARN_OUTSIDE_CONTAINER: '1'

steps:
-
name: Checkout
Expand Down

0 comments on commit fd1f5bf

Please sign in to comment.