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
360e77a083
remove direct accesses to RUNNER_TEMP
2020-08-19 15:25:27 +01:00
Robert Brignull
9c29fe283d
add tempDir and toolCacheDir to config
2020-08-19 15:11:49 +01:00
Robert Brignull
00eee2b7ee
Merge branch 'main' into language_parsing
2020-08-17 13:21:02 +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
de0b59097a
remove direct dependency on @actions/io
2020-08-07 18:09:45 +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
5b35de62bd
remove CODEQL_ACTION_DATABASE_DIR
2020-08-07 16:08:16 +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
da3d6d25eb
move config parsing earlier + add to codeql search path
2020-07-13 14:49:01 +01:00
Robert Brignull
c41d287cae
Introduce wrapper around codeql
2020-07-02 14:25:08 +01:00
Alex Kalyvitis
8530f5b76a
add missing semicolon
2020-06-24 14:37:12 +02:00
Alex Kalyvitis
a67896b792
fix typo and throw error when languages are not detected
2020-06-24 14:31:06 +02:00
Alex Kalyvitis
a091618158
Merge branch 'main' into report-action-aborted
2020-06-24 14:04:46 +02:00
Alex Kalyvitis
b8ac06a9c8
run tslint --fix
2020-06-23 18:41:16 +02:00
Alex Kalyvitis
af252d2f0d
report action has aborted
2020-06-23 18:36:08 +02:00
Chris Gavin
052d39e909
Fix some strange formatting.
2020-06-23 14:44:40 +01:00
Chris Gavin
107d8ffc4c
Fix a line that's too long.
2020-06-23 14:44:40 +01:00
Chris Gavin
88231094bf
Convert all 4-space indented files to 2-space.
2020-06-23 14:44:40 +01:00
Robert Brignull
00ebedc522
Merge branch 'master' into self-hosted
2020-06-09 09:43:41 +01:00
Robert Brignull
5ea736059a
move all files to the RUNNER_TEMP directory
2020-06-04 12:15:34 +01:00
Robert Brignull
96da037d49
report exceptions during upload
2020-05-28 10:40:26 +01:00
anaarmas
28ccc3db2d
Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
2020-04-28 17:23:37 +02:00