Rasmus Wriedt Larsen
b8107301d2
python-setup: Fix for python2
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
ebf1b8f8fc
Fix prettier problem
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
932b6a98b8
python-setup: Fix path for tests
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
259993b92a
python-setup: Handle poetry virtualenvs.options.no-pip = true
...
Fixes https://github.com/github/codeql-action/issues/1425
2023-01-13 11:25:25 +01:00
Henry Mercer
0be20e5ce1
Use the CLI version when caching the bundle in telemetry too
2023-01-12 21:09:09 +00:00
Henry Mercer
33206d299e
Include the bundle version in the toolcache version number
...
This gives us an easy cache hit when requesting the same tools URL.
2023-01-12 20:56:31 +00:00
Henry Mercer
c2e39e078f
Cache explicitly requested bundles with their URL if possible
2023-01-12 20:44:05 +00:00
Henry Mercer
c9b1be5115
Bump version to 2.2.0
2023-01-12 16:07:23 +00:00
Henry Mercer
28f827aefa
Add changelog notes
2023-01-12 16:06:08 +00:00
Henry Mercer
9578699f19
Merge branch 'main' into henrymercer/controlled-switchover
2023-01-12 15:55:36 +00:00
Henry Mercer
31c7ce1ce4
Add doc describing CLI version marker files
2023-01-12 15:51:12 +00:00
Henry Mercer
a89ad76881
Expand note about defaults.json compatibility
...
In the future we might convert the file to JSON with comments, or add
this note to a JSON schema.
2023-01-12 15:46:12 +00:00
Henry Mercer
1eeb9df353
Remove dead code
2023-01-12 15:41:17 +00:00
Henry Mercer
648838c4a0
Allow using a x.y.z-yyyymmdd toolcache version for CLI x.y.z.
2023-01-12 15:41:07 +00:00
Henry Mercer
2073a69919
Merge pull request #1477 from github/mergeback/v2.1.38-to-main-515828d9
...
Mergeback v2.1.38 refs/heads/releases/v2 into main
2023-01-12 11:25:42 +00:00
github-actions[bot]
10f2d3c15a
Update checked-in dependencies
2023-01-12 10:42:07 +00:00
github-actions[bot]
00c2a84eba
Update changelog and version after v2.1.38
2023-01-12 10:35:11 +00:00
Henry Mercer
515828d974
Merge pull request #1476 from github/update-v2.1.38-70fdddff
...
Merge main into releases/v2
v2.1.38
2023-01-12 10:32:43 +00:00
github-actions[bot]
caa49ae471
Update changelog for v2.1.38
2023-01-12 02:27:49 +00:00
Henry Mercer
e8c12e1f7d
Add a debug log for the feature flag API response
2023-01-11 19:10:22 +00:00
Henry Mercer
2f7b9a1280
Differentiate setupCodeql.setupCodeQL from codeql.setupCodeQL
2023-01-11 19:06:50 +00:00
Henry Mercer
23d151db1c
Add test for using default version with no requested URL on Dotcom
2023-01-11 19:06:50 +00:00
Henry Mercer
c3be36f5cb
Use new default version to set up CodeQL
2023-01-11 19:06:50 +00:00
Henry Mercer
bd2f52fcef
Move CodeQL setup to its own file
2023-01-11 19:06:50 +00:00
Henry Mercer
a76fe4f9bd
Enable mapping from CLI version to bundle tag name
2023-01-11 19:06:50 +00:00
Henry Mercer
a6dff04fe1
Ignore default version flags with invalid version numbers
2023-01-11 19:06:49 +00:00
Henry Mercer
cdb90196f2
Support determining Dotcom CLI version from feature flags
2023-01-11 18:40:47 +00:00
Henry Mercer
70fdddff11
Merge pull request #1474 from github/henrymercer/fix-ghae-setup-test
...
Refactor CodeQL setup tests and fix GHAE test
2023-01-11 17:14:35 +00:00
Henry Mercer
6ba0a36550
Add JSDoc for mockDownloadApi
2023-01-11 15:25:21 +00:00
Henry Mercer
4a918790cd
Merge branch 'main' into henrymercer/fix-ghae-setup-test
2023-01-11 15:23:04 +00:00
Andrew Eisenberg
42d6d35dd1
Merge pull request #1464 from github/aeisenberg/externalRepoTokenConfigParsing
...
Send the external repository token to the CLI
2023-01-10 14:03:12 -08:00
Andrew Eisenberg
e009918fbc
Merge branch 'main' into aeisenberg/externalRepoTokenConfigParsing
2023-01-10 12:43:37 -08:00
Henry Mercer
70a288daae
Merge branch 'main' into henrymercer/fix-ghae-setup-test
2023-01-10 20:37:40 +00:00
Dave Bartolomeo
bdc7c5d203
Merge pull request #1466 from github/dbartol/bundle-20230105
...
Update bundle to 2.12.0
2023-01-10 15:37:19 -05:00
Andrew Eisenberg
272d916f23
Address comments from PR
2023-01-10 12:17:26 -08:00
Henry Mercer
f12f76f047
Merge pull request #1473 from github/henrymercer/temporarily-disable-kotlin-in-pr-checks
...
Temporarily disable Kotlin analysis in PR checks
2023-01-10 19:49:21 +00:00
Henry Mercer
28a9b2d6d7
Add a note regarding the sinon workaround
2023-01-10 19:43:23 +00:00
Henry Mercer
9f8ddbdfd7
Fix GHAE CodeQL setup test
2023-01-10 19:36:29 +00:00
Henry Mercer
9203e314a3
Improve CodeQL setup test structure and naming
2023-01-10 19:35:21 +00:00
Henry Mercer
80b12d6f73
Ensure we don't unset CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN
2023-01-10 17:42:24 +00:00
Henry Mercer
620a267204
Temporarily disable Kotlin analysis in PR checks
...
Kotlin analysis is incompatible with Kotlin 1.8.0, which is now rolling
out to the Actions runner images.
While we work on a more permanent fix to our PR checks, this will
prevent us losing other
test coverage.
2023-01-10 17:31:35 +00:00
Dave Bartolomeo
bac4fe1a38
Merge branch 'main' into dbartol/bundle-20230105
2023-01-10 09:31:07 -05:00
Robert
166d98c19e
Merge pull request #1465 from github/robertbrignull/upload_database_stream
...
Use a stream when uploading database contents
2023-01-09 12:37:54 +00:00
Robert
a9337bc304
Close stream after use
2023-01-09 11:00:43 +00:00
Andrew Eisenberg
4023575d64
Send the external repository token to the CLI
...
This commit does a few related things:
1. Bumps the minimum version for cli config parsing to 2.10.6
2. Ensures that if cli config parsing is enabled, then remove repos
are _not_ downloaded by the action. It happens in the CLI.
3. Passes the `--external-repository-token-stdin` option to the CLI
and passes the appropriate token via stdin if cli config parsing is
enabled.
2023-01-06 14:46:28 -08:00
Henry Mercer
cf1437a514
Merge pull request #1462 from github/henrymercer/refactor-codeql-setup
...
Refactor CodeQL setup
2023-01-06 17:36:02 +00:00
Dave Bartolomeo
f9c9a2567c
Rebuild
2023-01-06 12:32:23 -05:00
Dave Bartolomeo
b9c859bfa1
Merge branch 'main' into dbartol/bundle-20230105
2023-01-06 11:56:06 -05:00
Angela P Wen
b4187d626b
Add CLI version field and prior release fields to defaults file ( #1463 )
...
* Add CLI version field to `defaults` file
* Add fields for prior CLI version
2023-01-06 08:24:28 -08:00
Dave Bartolomeo
bfbb7ab03c
Add change note for bundle update
2023-01-06 11:00:35 -05:00