Skip to content

Prepare for rolling out skipping computing file coverage information on PRs #4673

Prepare for rolling out skipping computing file coverage information on PRs

Prepare for rolling out skipping computing file coverage information on PRs #4673

Triggered via pull request March 10, 2026 16:26
Status Success
Total duration 1m 28s
Artifacts
Matrix: Go: diagnostic when `file` is not installed
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
Go: diagnostic when `file` is not installed (ubuntu-latest, default)
Failed to determine the location of the Go binary: FileCmdNotFoundError: The `file` program is required, but does not appear to be installed. Please install it: Error: Unable to locate executable file: file. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Go: diagnostic when `file` is not installed (ubuntu-latest, default)
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses. To opt out of this change, set the `CODEQL_ACTION_FILE_COVERAGE_ON_PRS` environment variable to `true`. Alternatively, create a custom repository property with the name `github-codeql-file-coverage-on-prs` and the type "True/false", then set this property to `true` in the repository's settings.