Angela P Wen
892ff9ec25
Fix linting errors
2024-07-23 15:21:21 +02:00
Angela P Wen
edfef2739a
Further standardize doc URL messages
...
Always say "see $URL for more information" without parentheses.
2024-07-23 14:18:04 +02:00
Angela P Wen
7ad1090882
Refactor all doc URLs into their own enum
2024-07-23 14:17:34 +02:00
Angela P Wen
7cb4b5a421
Make all instances of doc links in logs clickable
2024-07-23 14:17:34 +02:00
Henry Mercer
a52b209ec8
Enable direct tracing the autobuild build mode by default
2024-06-26 19:38:13 +01:00
Henry Mercer
67f8a36bdb
Merge branch 'main' into henrymercer/on-demand-ffs
2024-05-10 11:32:35 +01:00
Henry Mercer
7a6352f8e6
Don't call trace-command when the indirect tracer has already been started
2024-05-09 14:25:25 +01:00
Henry Mercer
cf4c3b4434
Remove "_enabled" suffix from non-legacy features
2024-05-09 12:38:10 +01:00
Henry Mercer
cbe29f55df
Run autobuild script via direct tracing when feature enabled
2024-04-12 17:07:08 +01:00
Henry Mercer
3d49faaabb
Use extraction via build mode in autobuild Action when available
2024-04-12 17:07:08 +01:00
Henry Mercer
5b74166227
Move BuildMode to util.ts
2024-04-12 16:37:13 +01:00
Henry Mercer
649f3e87e1
Bump verbosity when running autobuild script directly in debug mode
2024-03-13 17:58:45 +00:00
Henry Mercer
aeb89ef79a
Enable C++ deptrace when using autobuild build mode
2024-02-22 18:17:16 +00:00
Henry Mercer
0fe34bd39a
Extract language appropriately in analyze step when build mode specified
2024-02-07 13:19:29 +00:00
nickfyson
cc4fead714
update version in various hardcoded locations
2023-12-07 15:44:56 +00:00
Michael B. Gale
df098abd11
Set DID_AUTOBUILD_GOLANG in runAutobuild
2023-10-04 19:45:08 +01:00
Paolo Tranquilli
c21e1dd0da
Lint and build
2023-09-21 16:23:27 +02:00
Paolo Tranquilli
53bed11e0b
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-09-21 16:11:21 +02:00
Paolo Tranquilli
bf2187592f
C++: simplify CppDependencyInstallation interface
2023-09-20 14:05:12 +02:00
Paolo Tranquilli
c4c06786f2
C++: introduce automatic installation of dependencies in the autobuilder
...
This introduces the possibility to automatically install dependencies
when running the C++ autobuilder on an Ubuntu runner, that will be
available with upcoming version 2.15.0.
An experimental `cpp-autoinstall-dependencies` input is added to the
`autobuild` action. When not set, the default is driven by a feature
flag.
2023-09-20 14:05:12 +02:00
Angela P Wen
b16296be30
Auto-fix linting errors
2023-07-25 10:34:21 +02:00
Angela P Wen
5883c13406
Deprecate Go extraction reconciliation feature flag and CODEQL_EXTRACTOR_GO_BUILD_TRACING for custom builds ( #1322 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-11-14 13:54:35 -08:00
Andrew Eisenberg
701cea34ba
More renaming
2022-10-11 10:39:40 -07:00
Andrew Eisenberg
1a17c59fb0
More renaming
...
Avoid usage of "Feature Flag" unless we are talking specifically about
the response from github features api. Otherwise, use terms like
"Toggleable features".
Note both "toggleable" and "togglable" appear to be valid spellings of
the word. I chose the first for no good reason.
2022-10-07 11:33:32 -07:00
Henry Mercer
f32e161cdd
Improve warning when using autobuild with multi-language builds
2022-09-13 16:53:02 +01:00
Henry Mercer
4cc95769d4
Improve variable name
2022-09-13 16:50:41 +01:00
Henry Mercer
bde5694fb7
Comment why we don't run multiple autobuilders for other languages
2022-09-12 18:25:20 +01:00
Henry Mercer
40e0374c6f
Ensure backwards compat for multi-language builds with Go reconciliation
2022-09-12 18:24:46 +01:00
Henry Mercer
0d2fa3c636
Support autobuilding multiple languages in autobuild Action
2022-09-12 17:35:32 +01:00
Henry Mercer
cf5d465980
Trace Go when Go extraction reconciliation is enabled
2022-09-01 14:42:59 +01:00
Henry Mercer
e195431677
Override CODEQL_EXTRACTOR_GO_BUILD_TRACING with on when it's true
2022-08-24 11:48:32 +01:00
Edoardo Pirovano
70d2efc353
Enforce a minimum version of CodeQL CLI
2021-08-18 11:48:12 +01:00
Chris Raynor
a184d50a26
Running lint-fix
2020-09-14 10:44:43 +01:00
Robert Brignull
a542021200
make --language optional to autobuild and detect dominant language
2020-08-27 14:08:54 +01:00
Robert Brignull
217483dfd6
Convert rest of the actions
2020-08-26 16:20:36 +01:00
Robert Brignull
9e342a9b83
rename the action entrypoint files
2020-08-24 15:15:26 +01:00
Robert Brignull
0e8b30af75
Merge branch 'main' into add_env_to_config
2020-08-21 10:32:58 +01:00
Robert Brignull
038c4ebdf7
add CodeQL cmd to config
2020-08-19 15:57:13 +01:00
Robert Brignull
9c29fe283d
add tempDir and toolCacheDir to config
2020-08-19 15:11:49 +01:00
Robert Brignull
591359cae6
introduce languages.ts
2020-08-10 16:03:09 +01:00
Robert
a0660c80bd
remove should_abort method
2020-08-07 16:56:04 +01:00
Robert
396f7167d8
remove CODEQL_ACTION_TRACED_LANGUAGES and CODEQL_ACTION_SCANNED_LANGUAGES
2020-08-07 16:55:45 +01:00
Robert Brignull
8127c47bbd
always log full error
2020-08-05 09:43:46 +01:00
Andrew Eisenberg
42235cc048
Allow the codeql-action to be run locally ( #117 )
...
* Allow the codeql-action to be run locally
This change allows the codeql-action to be run locally through
[act](https://github.com/nektos/act ).
In order to run the action locally, you need to do two things:
1. Add the `CODEQL_LOCAL_RUN: true` environment variable. The only way
I could figure out how to do this was to add it directly in the
workflow file in an `env` block. It _should_ be possible to add it
through a `.env` file and pass it to `act`, but I couldn't get it
working.
2. Run this command `act -j codeql -s GITHUB_TOKEN=<MY_PAT>`
Setting the `CODEQL_LOCAL_RUN` env var will fill in missing env vars
that the action needs, but isn't set by `act`. It will also avoid
making api calls to github that would fail locally.
This is a refactoring discussed in
https://github.com/github/dsp-codeql/issues/36
2020-08-04 14:35:20 -07:00
Robert
87758a1402
Upload much more data in status reports
2020-07-24 15:01:44 +01:00
Robert Brignull
5ab09ae291
Make parameter names more descriptive
2020-07-02 14:45:14 +01:00
Robert Brignull
c41d287cae
Introduce wrapper around codeql
2020-07-02 14:25:08 +01:00
Max Veytsman
7963db13d8
Move error to correct catch block
2020-04-30 09:11:50 -04:00
Max Veytsman
f237316c5a
Improve errors & warnings in autobuild
2020-04-29 15:25:48 -04:00
anaarmas
28ccc3db2d
Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
2020-04-28 17:23:37 +02:00