Robert Brignull
00eee2b7ee
Merge branch 'main' into language_parsing
2020-08-17 13:21:02 +01:00
Robert
c5e07ebfcc
Merge pull request #149 from github/max_threads
...
Use all available threads for analysis
2020-08-17 13:12:30 +01:00
Robert
ce75b488a5
Merge pull request #150 from github/update-v1-e9efcf19
...
Merge main into v1
2020-08-17 12:52:09 +01:00
Robert Brignull
96ded2b500
Merge remote-tracking branch 'origin/main' into max_threads
2020-08-17 12:47:19 +01:00
Robert Brignull
5eb3736850
move maxThreads outside of loop
2020-08-17 12:46:55 +01:00
Robert Brignull
d49b8673bb
fix alerts
2020-08-17 12:42:23 +01:00
Robert Brignull
f92a68048c
add query to detect use of actions libs
2020-08-17 12:32:22 +01:00
Chris Gavin
e9efcf1900
Merge pull request #145 from github/chrisgavin/default-bundle-version-json
...
Store the default CodeQL bundle version in a JSON file.
2020-08-14 16:12:59 +01:00
Chris Gavin
73c73baaa2
Merge branch 'main' into chrisgavin/default-bundle-version-json
2020-08-14 15:53:07 +01:00
Robert Brignull
aaeb9751bb
use all available threads for analysis
2020-08-14 14:24:08 +01:00
Robert
2527130a32
Merge pull request #147 from github/upload_cli
...
Add a CLI interface to the upload-sarif action
2020-08-13 18:05:15 +01:00
Robert Brignull
2828c43ac7
fix file location
2020-08-12 18:08:30 +01:00
Robert Brignull
4b56177c28
Re-throw errors
2020-08-12 18:06:34 +01:00
Robert Brignull
150e07f914
add test action
2020-08-12 17:55:40 +01:00
Robert Brignull
5b0aafadb1
address comments
2020-08-12 17:42:47 +01:00
Chris Gavin
9c5f7640e5
Merge branch 'main' into chrisgavin/default-bundle-version-json
2020-08-11 17:52:34 +01:00
Robert Brignull
cf08f5a9cd
remove unused arguments
2020-08-11 13:56:23 +01:00
Robert Brignull
34b372292b
commit node_modules and generated files
2020-08-11 12:43:27 +01:00
Robert Brignull
6d7a135fea
Add a CLI interface to the upload-sarif action
2020-08-11 12:43:06 +01:00
Robert
bcf676e52d
Merge pull request #141 from github/actions_io
...
Remove direct dependency on @actions/io
bundle-test
bundle-test-20200812
codeql-bundle-20200812
2020-08-10 16:14:11 +01:00
Robert Brignull
591359cae6
introduce languages.ts
2020-08-10 16:03:09 +01:00
Robert
7c2a7b236c
Merge remote-tracking branch 'origin/main' into actions_io
2020-08-10 15:59:27 +01:00
Robert
0fdcc52338
Merge branch 'main' into actions_io
2020-08-10 15:50:44 +01:00
Robert
d5693a7fd2
Merge pull request #140 from github/remove_some_shared_env
...
Remove some shared env
2020-08-10 15:46:03 +01:00
Robert
eb4eda5cbe
Merge branch 'main' into remove_some_shared_env
2020-08-10 15:28:44 +01:00
Chris Gavin
97eafbc804
Store the default CodeQL bundle version in a JSON file.
2020-08-10 13:41:45 +01:00
Robert
9494a25e76
Merge pull request #143 from github/update-v1-86081052
...
Merge main into v1
2020-08-10 10:46:27 +01:00
Robert
6e18b27d4d
Merge pull request #137 from github/invalid_language
...
Provide a better error message when languages are not recognised
2020-08-10 10:36:01 +01:00
Robert
de0b59097a
remove direct dependency on @actions/io
2020-08-07 18:09:45 +01:00
Robert
d5c453c995
mock API request in test
2020-08-07 17:15:46 +01:00
Robert Brignull
657540584e
add tests
2020-08-07 17:02:42 +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
e5ad069f2c
remove CODEQL_ACTION_ANALYSIS_KEY
2020-08-07 16:54:58 +01:00
Robert
5b35de62bd
remove CODEQL_ACTION_DATABASE_DIR
2020-08-07 16:08:16 +01:00
Robert Brignull
d5853409b4
Provide a better error message when language is not recognised
2020-08-06 17:34:45 +01:00
Robert
8608105240
Merge pull request #136 from github/always_log_error
...
Always log the full error
2020-08-06 17:33:13 +01:00
Robert
ac66bbe1fe
Merge branch 'main' into always_log_error
2020-08-06 16:25:10 +01:00
Robert
3a28cb4ca8
Merge pull request #131 from github/languages_error
...
Improve error messages when no languages or no queries are specified
2020-08-05 10:01:09 +01:00
Robert Brignull
8127c47bbd
always log full error
2020-08-05 09:43:46 +01:00
Robert Brignull
44c88fdd05
fix undefined check
2020-08-05 09:40:12 +01:00
Robert Brignull
6230b36dc2
update error message
2020-08-05 09:23:51 +01:00
Robert Brignull
3d552ba624
Merge branch 'main' into languages_error
2020-08-05 09:22:58 +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
Alex Ford
631929a68f
Merge pull request #135 from github/revert-dont-send-matrix-vars
...
revert: 'Don't send `matrix_vars` field in status reports.'
2020-08-04 18:43:59 +01:00
Alex Ford
128c2cf718
revert: 'Don't send field in status reports.'
2020-08-04 18:26:31 +01:00
Chris Gavin
69bf3f24d4
Merge pull request #134 from github/merge-v1
...
Merge v1 into main.
2020-08-04 16:33:57 +01:00
Chris Gavin
02d3d62def
Merge remote-tracking branch v1 into main.
2020-08-04 16:30:51 +01:00
Chris Gavin
f0894d52f3
Merge pull request #132 from github/dont-send-matrix-vars
...
Don't send `matrix_vars` field in status reports.
2020-08-04 16:28:08 +01:00
Chris Gavin
1fb3aaff6e
Don't send matrix_vars field in status reports.
2020-08-04 16:21:58 +01:00