GeezerVison is showing github.com — Merge main into releases/v2 by github-actions[bot] · Pull Request #1212 · github/codeql-action
Conversation
github-actions
Bot
commented
Aug 25, 2022
•
edited by edoardopirovano
Loading
Uh oh!
There was an error while loading. Please reload this page.
Merging 21bf308 into releases/v2
Conductor for this PR is @edoardopirovano
Contains the following pull requests:
Please review the following:
- The CHANGELOG displays the correct version and date.
- The CHANGELOG includes all relevant, user-facing changes since the last release.
- There are no unexpected commits being merged into the releases/v2 branch.
- The docs team is aware of any documentation changes that need to be released.
- The mergeback PR is merged back into main after this PR is merged.
- The v1 release PR is merged after this PR is merged.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
When someone creates an invalid `queries` entry in the codeql config
file, like this:
```
queries:
- foo.ql
```
THe error message is confusing, looking like this:
```
Error: Cannot use 'in' operator to search for 'uses' in ql/ql/src
TypeError: Cannot use 'in' operator to search for 'uses' in ql/ql/src
at loadConfig (/home/runner/work/_actions/github/codeql-action/71a8b35ff4c80fcfcd05bc1cd932fe3c08f943ca/lib/config-utils.js:577:41)
```
With this change, the error message is more comprehensible:
`queries must be an array, with each entry having a 'uses' property`
This is no longer needed since `long` now includes its own types.
Mergeback fixes from v1 release
Mergeback v2.1.20 refs/heads/releases/v2 into main
TRAP Caching: Unset missing cache rather than setting to `undefined`
Handle other cases where the config is invalid.
More readable error message for invalid `queries` block and invalid `query-filters` blocl
These were supplying CODEQL_EXTRACTOR_GO_BUILD_TRACING=true rather than
CODEQL_EXTRACTOR_GO_BUILD_TRACING=on,
therefore tracing wasn't being tested.
This is currently broken in CLI versions 2.10.3 and earlier.
It is enough to pass the checks now that we only use the runner for PR
checks.
Fix Go tracing on Windows, and fix tests
Telemetry: Record DB creation time
…nalyzing the default branch.
…edule
When running on a schedule, make a better guess about whether we're analyzing the default branch.
This was referenced Jun 24, 2023
This was referenced Nov 30, 2023
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.