Nora
075eb6aaea
Use getCommitOid to get the id
2023-10-05 14:47:51 +00:00
Henry Mercer
e26ed57a22
Defer language aliasing to CLI when appropriate
2023-10-05 15:27:51 +01:00
Henry Mercer
0ac7669167
Fix using resolve-environment Action with language aliases
...
This impacted default setup configurations that analyzed Go alongside at
least one of the following languages:
- C/C++
- Java/Kotlin
- JavaScript/TypeScript
2023-10-05 14:54:24 +01:00
Michael B. Gale
235bdca565
Use markdownMessage
2023-10-05 14:27:34 +01:00
Michael B. Gale
94f3e9b563
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-10-05 14:27:09 +01:00
Michael B. Gale
3b2fee487e
Include mkdirSync in try/catch
2023-10-05 13:48:56 +01:00
Michael B. Gale
a144bf5d7f
Store diagnostics in language-specific database
2023-10-05 13:39:58 +01:00
Michael B. Gale
7f4a9481a7
Fix: create codeql-action diagnostics directory
2023-10-05 13:20:34 +01:00
Michael B. Gale
2b193c5ab5
Store diagnostics in a codeql-action directory
2023-10-05 13:05:46 +01:00
Michael B. Gale
eb71a60380
Emit diagnostic when Go was changed after init
2023-10-05 12:52:06 +01:00
Michael B. Gale
36777d2236
Add utilities to produce diagnostics
2023-10-05 12:50:19 +01:00
Nora
1727de39fe
Add commit sha to database upload
2023-10-05 09:49:13 +00:00
Michael B. Gale
db9f2c5968
Add test for isSupportedToolsFeature
2023-10-05 10:33:33 +01:00
Michael B. Gale
738030674f
Trim file output
2023-10-05 10:25:31 +01:00
Michael B. Gale
68d0b65ee5
Add another level to tempBinPath
2023-10-04 20:03:32 +01:00
Michael B. Gale
bb70bab648
Add comment explaining workaround
2023-10-04 19:57:11 +01:00
Michael B. Gale
41a13ec084
Fix comment in analyse Action
2023-10-04 19:53:23 +01:00
Michael B. Gale
9a5a628613
Improve getFileType
...
- Change parameter name
- Add more documentation
2023-10-04 19:50:02 +01:00
Michael B. Gale
f6d9b6bcfa
Improve/add log messages
2023-10-04 19:45:09 +01:00
Michael B. Gale
7b0b42afec
Remove FeaturesInVersionResult
2023-10-04 19:45:08 +01:00
Michael B. Gale
abb71f14cf
Add CLI feature flag to disable Go workaround
2023-10-04 19:45:08 +01:00
Michael B. Gale
604448043e
Add which go output in warning
2023-10-04 19:45:08 +01:00
Michael B. Gale
4cee553ea6
Output stdout upon error in getFileType
2023-10-04 19:45:08 +01:00
Michael B. Gale
df098abd11
Set DID_AUTOBUILD_GOLANG in runAutobuild
2023-10-04 19:45:08 +01:00
Michael B. Gale
4611ff9b23
Cross-check Go binary in analyze Action
2023-10-04 19:45:04 +01:00
Michael B. Gale
2bd75f528c
Install Go wrapper script if necessary
2023-10-04 17:23:52 +01:00
Michael B. Gale
3c15d2383b
Add utility function to run file command
2023-10-04 17:23:52 +01:00
Michael B. Gale
c08086a26a
Add new environment variable for Go binary path
2023-10-04 17:23:52 +01:00
Michael B. Gale
bcbb900532
Rename VersionOutput to VersionInfo
2023-10-04 15:54:34 +01:00
Michael B. Gale
49b94f1a2d
Remove unused properties from VersionOutput
2023-10-04 15:51:26 +01:00
Michael B. Gale
bb67eddd77
Wrap JSON parsing in try/catch
2023-10-04 15:49:25 +01:00
Michael B. Gale
e827ad5b71
Move makeVersionOutput to testing-utils.js
2023-10-04 15:49:04 +01:00
Michael B. Gale
a402be8739
Fix linter error
2023-10-04 11:43:14 +01:00
Michael B. Gale
74b46628c3
Support features key in version JSON output
2023-10-04 11:28:28 +01:00
Henry Mercer
7b16c0dad0
Improve method name for addQueriesFromWorkflow.
2023-10-02 17:35:03 +01:00
Henry Mercer
ebbadee09e
Remove ML-powered queries
2023-10-02 17:20:50 +01:00
David Leal
66572c69b0
Merge branch 'main' into checkout_v4
2023-09-28 14:31:04 -06:00
David Leal
e0103eab17
Use actions/checkout@v4
2023-09-28 20:30:31 +00:00
Henry Mercer
e4ef094279
Merge branch 'main' into henrymercer/deprecate-codeql-2.9
2023-09-27 17:18:42 +01:00
Henry Mercer
a6484fa0f6
Merge pull request #1896 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2023-09-27 16:44:20 +01:00
Henry Mercer
1d5eed8d40
Remove deprecated functionality
2023-09-27 16:16:13 +01:00
Henry Mercer
96fa24c6ba
Bump minimum CodeQL version to 2.10.5
2023-09-27 16:08:27 +01:00
Henry Mercer
378bbcd274
Don't log invalid cgroup memory limits
2023-09-27 13:56:20 +01:00
Henry Mercer
4818fdd8ec
Merge pull request #1903 from github/henrymercer/sublanguage-file-coverage
...
Enable sub-language file coverage behind a feature flag
2023-09-26 17:30:08 +01:00
Alexander Eyers-Taylor
cc6542087a
Merge branch 'main' into update-bundle/codeql-bundle-v2.14.6
2023-09-26 13:37:33 +01:00
Henry Mercer
41d2ffad87
Enable sub-language file coverage behind a ff
2023-09-26 11:38:39 +01:00
Henry Mercer
0de36d4594
Merge branch 'main' into henrymercer/check-for-duplicated-languages
2023-09-22 19:14:37 +01:00
Henry Mercer
d1a917f445
Test that workflow with two different languages doesn't produce an error
2023-09-22 19:08:38 +01:00
Henry Mercer
431174f620
Factor out groupLanguagesByExtractor
2023-09-22 18:55:52 +01:00
Henry Mercer
d0c18ba23e
Warn when workflow analyzes the same language twice
2023-09-22 14:54:03 +01:00