Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Henry Mercer e195431677 Override `CODEQL_EXTRACTOR_GO_BUILD_TRACING` with `on` when it's `true` 2022-08-24 11:48:32 +01:00
Andrew Eisenberg 40568daca8 Fix compile errors introduced by typescript 4.4.2
4.4.2 introduces a breaking change that the variable in a catch clause
is now `unknown` type. So, we need to cast the `e`, `err`, or `error`
variables to type `Error`.
2021-09-10 14:06:27 -07:00
Edoardo Pirovano 70d2efc353
Enforce a minimum version of CodeQL CLI 2021-08-18 11:48:12 +01:00
Edoardo Pirovano d9849b8ca1
Rebuild after TypeScript version bump 2021-07-27 17:59:59 +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
Robert Brignull aa54af7018 enable source maps 2020-05-14 11:07:58 +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