Henry Mercer
60e58b4a21
Merge branch 'main' into henrymercer/discontinue-v1
2023-01-18 12:19:49 +00:00
Andrew Eisenberg
9b1206e898
Fix a bug in cli config parsing
...
When the config specifies queries in external repositories and no other
queries and cli config parsing is enabled, the analyze job is not able
to find any queries to run and it fails. This PR fixes the problem.
Also add some logging statements when writing a copy of the user config
file.
2023-01-17 20:59:36 -08:00
Andrew Eisenberg
40cfcb0a3f
Merge pull request #1485 from github/aeisenberg/comitoid-message
...
Hide error message and stack for non-error
2023-01-17 17:21:14 -08:00
GitHub
e199504667
Update supported GitHub Enterprise Server versions.
2023-01-18 00:12:15 +00:00
Andrew Eisenberg
e6e3bf4923
Update src/actions-util.ts
...
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-01-17 15:53:14 -08:00
Andrew Eisenberg
5b9b480165
Update changelog
2023-01-17 15:05:22 -08:00
Andrew Eisenberg
b625b628b7
Hide error message and stack for non-error
...
Avoid printing the error message and stack when we fail to find the
commit. This will happen in several non-error states (e.g.,
when there is no repository checked out at the CWD). Move the
error message to a debug message so that it is still available
if someone really wants to see it.
2023-01-17 15:00:24 -08:00
Henry Mercer
e530813ab8
Remove PR checks for v1
2023-01-16 18:49:32 +00:00
Henry Mercer
5fe1a9b8af
Update mergeback workflow
2023-01-16 18:41:03 +00:00
Henry Mercer
ba674fb1af
Update release workflow
2023-01-16 18:37:43 +00:00
Henry Mercer
e0b20eea50
Migrate release script to template strings
2023-01-16 18:15:29 +00:00
Henry Mercer
218d40db4c
Remove v1 only parts of release script
2023-01-16 18:09:01 +00:00
Henry Mercer
28c93a0113
Add changelog note
2023-01-16 17:56:37 +00:00
Henry Mercer
4b40a3a20e
Add a notice that CodeQL Action v1 is discontinued
2023-01-16 17:56:31 +00:00
Henry Mercer
a5b44c1a39
Add a sentence on recommended practices for using the CLI
2023-01-16 10:26:34 +00:00
Henry Mercer
b660a383cf
Address review comments
2023-01-16 10:14:35 +00:00
Henry Mercer
115587a52c
Merge branch 'main' into henrymercer/controlled-switchover
2023-01-16 10:10:15 +00:00
Henry Mercer
ac7e4d772e
Improve changelog note some more
2023-01-16 09:53:43 +00:00
Rasmus Wriedt Larsen
32be38eeff
Merge pull request #1431 from github/rasmuswl/poetry-always-install-pip
...
python-setup: Handle poetry `virtualenvs.options.no-pip = true`
2023-01-16 09:31:13 +01:00
Henry Mercer
eca06a5561
Further improve changelog notes
2023-01-13 18:03:03 +00:00
Henry Mercer
13cdac30cc
Improve changelog notes
2023-01-13 16:24:38 +00:00
Henry Mercer
12998b7ba3
Convert logger call to debug
2023-01-13 16:18:46 +00:00
Rasmus Wriedt Larsen
5ed1e985c2
python-setup: Fix site-package selection for unix
2023-01-13 14:41:00 +01:00
Rasmus Wriedt Larsen
4bd9723e2b
npm run build
2023-01-13 11:26:22 +01:00
Rasmus Wriedt Larsen
2f6d17472d
python-setup: Make debug printing more obvious
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
2649b6603a
python-setup: Fix site-packages selection without pip for Windows
2023-01-13 11:25:25 +01:00
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