Skip to content

Add CodeQL query to detect redundant assignments #422

Add CodeQL query to detect redundant assignments

Add CodeQL query to detect redundant assignments #422

Triggered via push January 22, 2024 01:33
Status Failure
Total duration 1m 4s
Artifacts

codeql.yml

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

Annotations

2 errors and 1 warning
Analyze (cpp)
Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.16.0/x64/codeql/codeql database init --db-cluster /home/runner/work/_temp/codeql_databases --source-root=/home/runner/work/zfs/zfs --extractor-include-aliases --language=cpp --begin-tracing --trace-process-name=Runner.Worker.exe --codescanning-config=/home/runner/work/_temp/user-config.yaml --calculate-language-specific-baseline --sublanguage-file-coverage". Exit code was 2 and error was: A fatal error occurred: Specifier for external repository is invalid: .github/codeql/custom-queries/cpp/redundantAssignment.ql. See the logs for more details.
Analyze (python)
Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.16.0/x64/codeql/codeql database init --db-cluster /home/runner/work/_temp/codeql_databases --source-root=/home/runner/work/zfs/zfs --extractor-include-aliases --language=python --codescanning-config=/home/runner/work/_temp/user-config.yaml --calculate-language-specific-baseline --sublanguage-file-coverage". Exit code was 2 and error was: A fatal error occurred: Query pack code-scanning cannot be found. Check the spelling of the pack. See the logs for more details.
Analyze (cpp)
The "paths"/"paths-ignore" fields of the config only have effect for JavaScript, Python, and Ruby