Skip to content

[StepSecurity] Apply security best practices #2

[StepSecurity] Apply security best practices

[StepSecurity] Apply security best practices #2

Triggered via pull request April 28, 2023 15:15
Status Failure
Total duration 3m 31s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Analyze (java)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/java/tools/autobuild.sh with arguments . Exit code 1 and error was: Picked up JAVA_TOOL_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false ERROR: Could not detect a suitable build command for the source checkout.
Analyze (cpp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/autobuild.sh with arguments . Exit code 1 and error was: + export AUTOBUILD_ROOT=/opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools + AUTOBUILD_ROOT=/opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools ++ mktemp -dt autobuild.XXXXX + export AUTOBUILD_TMP_DIR=/tmp/autobuild.VzF8N + AUTOBUILD_TMP_DIR=/tmp/autobuild.VzF8N + export VERBOSE=1 + VERBOSE=1 + export CCACHE_DISABLE=1 + CCACHE_DISABLE=1 + . /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/lib/dirs.sh ++ EXTRACTOR_DIRS=(TRAP SCRATCH DIAGNOSTIC SOURCE_ARCHIVE) ++ AUTOBUILD_TRIED_STEPS=/tmp/autobuild.VzF8N/tried_steps.txt + trap cleanup EXIT + /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/do-prebuild + . /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/lib/build.sh ++ . /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/lib/dirs.sh +++ EXTRACTOR_DIRS=(TRAP SCRATCH DIAGNOSTIC SOURCE_ARCHIVE) +++ AUTOBUILD_TRIED_STEPS=/tmp/autobuild.VzF8N/tried_steps.txt + /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/detect_source_root + '[' -L _lgtm_detected_source_root ']' ++ readlink _lgtm_detected_source_root + cd . + export CXXFLAGS=-fpermissive + CXXFLAGS=-fpermissive + configure_prefix_opt= + '[' -f configure.ac ']' + '[' -f configure.in ']' + '[' -f CMakeLists.txt ']' + '[' -f meson.build ']' + try_configure + build_dir=. + root_dir=. + grep -q 'AC_MSG_.* configure in a separate.* directory' configure.in configure.ac + for configure in configure configure.gnu + '[' -x configure ']' + for configure in configure configure.gnu + '[' -x configure.gnu ']' + rm -rf _lgtm_build_dir + for bootstrap in bootstrap.sh bootstrap autogen.sh + '[' -x bootstrap.sh ']' + '[' -f bootstrap.sh ']' + for bootstrap in bootstrap.sh bootstrap autogen.sh + '[' -x bootstrap ']' + '[' -f bootstrap ']' + for bootstrap in bootstrap.sh bootstrap autogen.sh + '[' -x autogen.sh ']' + '[' -f autogen.sh ']' + '[' -f wscript ']' + '[' -f Kbuild ']' + '[' -f configure.ac ']' + '[' -f configure.in ']' ++ echo './*.pro' + '[' './*.pro' '!=' './*.pro' ']' + exit 0 + /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/do-build + . /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/lib/build.sh ++ . /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/lib/dirs.sh +++ EXTRACTOR_DIRS=(TRAP SCRATCH DIAGNOSTIC SOURCE_ARCHIVE) +++ AUTOBUILD_TRIED_STEPS=/tmp/autobuild.VzF8N/tried_steps.txt + [[ -L _lgtm_detected_source_root ]] ++ readlink _lgtm_detected_source_root + cd . + [[ -d _lgtm_build_dir ]] + pushd . + [[ -f SConstruct ]] + [[ -f wscript ]] + [[ -f Makefile ]] + [[ -f makefile ]] + [[ -f GNUmakefile ]] + [[ -f build.ninja ]] + popd + for f in build build.sh + [[ -x build ]] + for f in build build.sh + [[ -x build.sh ]] + [[ -f setup.py ]] ++ head -1 ++ find . -name '*.vcxproj' + [[ -n ./third_party/zlib/contrib/vstudio/vc14/zlibvc.vcxproj ]] + emit_diagnostics expected-windows + /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/diagnostics/emit.sh expected-windows cpp/autobuilder: Incompatible operating system (expected Windows). + tried_everything + [[ -s /tmp/autobuild.VzF8N/tried_steps.txt ]] + emit_diagnostics no-build-command + /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/cpp/tools/diagnostics/emit.sh no-build-command cpp/autobuilder: No supported build system detected. + exit 1 + cleanup + local exit_status=1 + [[ -d /tmp/autobuild.VzF8N ]] + [[ 1 == 0 ]] + for dir in "${EXTRACTOR_DIRS[@]}" ++ get_dir TRAP ++ local dir_var=CODEQL_EXTRACTOR_CPP_TRAP_DIR ++ echo /home/runner/work/_temp/codeql_databases/cpp/trap/cpp + local dir_path=/home/runner/work/_temp/codeql_databases/cpp/trap/cpp + [[ -d /home/runner/work/_temp/codeql_databases/cpp/trap/cpp ]] + continue + for dir in "${EXTRACTOR_DIRS[@]}" ++ get_dir SCRATCH ++ local