Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into releases/v2 #1212

Merged
merged 27 commits into from
Aug 25, 2022
Merged

Commits on Aug 15, 2022

  1. More readable error message for invalid queries block

    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`
    aeisenberg committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    fba13b0 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Update changelog and version after v2.1.20

    github-actions[bot] committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    d7319f2 View commit details
    Browse the repository at this point in the history
  2. Update checked-in dependencies

    github-actions[bot] committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    e590686 View commit details
    Browse the repository at this point in the history
  3. 1 Configuration menu
    Copy the full SHA
    c72f566 View commit details
    Browse the repository at this point in the history
  4. Remove @types/long

    This is no longer needed since `long` now includes its own types.
    henrymercer committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    bae5150 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1201 from github/henrymercer/mergeback-v1-fixes

    Mergeback fixes from v1 release
    edoardopirovano authored Aug 22, 2022
    Configuration menu
    Copy the full SHA
    ec88835 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1200 from github/mergeback/v2.1.20-to-main-7fee4ca0

    Mergeback v2.1.20 refs/heads/releases/v2 into main
    henrymercer authored Aug 22, 2022
    Configuration menu
    Copy the full SHA
    c2c0a29 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Configuration menu
    Copy the full SHA
    1e5376a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1207 from github/edoardo/fix-warning

    TRAP Caching: Unset missing cache rather than setting to `undefined`
    edoardopirovano authored Aug 23, 2022
    Configuration menu
    Copy the full SHA
    3e49948 View commit details
    Browse the repository at this point in the history
  3. Better error messages for invalid queries and query filters blocks

    Handle other cases where the config is invalid.
    aeisenberg committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5861352 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac92a02 View commit details
    Browse the repository at this point in the history
  5. Update changelog

    aeisenberg committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9af066e View commit details
    Browse the repository at this point in the history
  6. Update CHANGELOG.md

    Co-authored-by: Henry Mercer <henrymercer@github.com>
    aeisenberg and henrymercer authored Aug 23, 2022
    Configuration menu
    Copy the full SHA
    e379edd View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1208 from github/aeisenberg/better-error-message

    More readable error message for invalid `queries` block and invalid `query-filters` blocl
    aeisenberg authored Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1cd5043 View commit details
    Browse the repository at this point in the history
  8. Fix Go custom tracing tests

    These were supplying CODEQL_EXTRACTOR_GO_BUILD_TRACING=true rather than
    CODEQL_EXTRACTOR_GO_BUILD_TRACING=on,
    therefore tracing wasn't being tested.
    henrymercer committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d5ad81b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c18ed56 View commit details
    Browse the repository at this point in the history
  10. Disable Lua tracing for Go on Windows

    This is currently broken in CLI versions 2.10.3 and earlier.
    henrymercer committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    ab6508a View commit details
    Browse the repository at this point in the history
  11. Add changelog note

    henrymercer committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    569f78c View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Configuration menu
    Copy the full SHA
    3069613 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e195431 View commit details
    Browse the repository at this point in the history
  3. Remove unguarded Actions library query

    It is enough to pass the checks now that we only use the runner for PR
    checks.
    henrymercer committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    182342c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1209 from github/henrymercer/fix-go-tracing-tests

    Fix Go tracing on Windows, and fix tests
    henrymercer authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    e7d4da3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8b45ef3 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1210 from github/edoardo/record-db-creation-time

    Telemetry: Record DB creation time
    edoardopirovano authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    92c650b View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. When running on a schedule, make a better guess about whether we're a…

    …nalyzing the default branch.
    chrisgavin committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    5960bff View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1211 from github/get-default-branch-correctly-sch…

    …edule
    
    When running on a schedule, make a better guess about whether we're analyzing the default branch.
    chrisgavin authored Aug 25, 2022
    Configuration menu
    Copy the full SHA
    21bf308 View commit details
    Browse the repository at this point in the history
  3. Update changelog for v2.1.21

    github-actions[bot] committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    00ef1ee View commit details
    Browse the repository at this point in the history