Edoardo Pirovano
05fc5a885c
Replace safeLoad with load
2021-07-27 22:12:26 +01:00
Edoardo Pirovano
a81500cbd6
Fix linting error
2021-07-27 19:23:11 +01:00
Edoardo Pirovano
186161e61c
Fix failing test
2021-07-27 19:00:37 +01:00
Edoardo Pirovano
d9849b8ca1
Rebuild after TypeScript version bump
2021-07-27 17:59:59 +01:00
alexet
fb8602423d
Update codeql bunde to 20210726 / 2.5.8
2021-07-26 18:09:24 +01:00
Edoardo Pirovano
11d56696ec
Augment where we insert baseline lines of code
2021-07-21 14:10:37 +01:00
Aditya Sharad
d7dcff944e
Merge branch 'main' into aibaars/refactor-checkout-path
2021-07-14 07:58:23 -07:00
Robert
d09d89f419
Merge branch 'main' into robertbrignull/databases_url
2021-07-14 15:15:50 +01:00
Arthur Baars
f94f1ed663
Rename checkoutPath to either workspacePath or sourceRoot
2021-07-14 13:39:45 +02:00
Edoardo Pirovano
cc14f298d6
Install Python tools on self-hosted runners
2021-07-13 17:24:11 +01:00
Robert
96edcdfd20
use templating for language param
2021-07-13 17:05:40 +01:00
Robert
b0b9ab80cc
Update databases URL
2021-07-13 14:09:56 +01:00
Mario Campos
a4a91a8631
Merge branch 'main' into source-root-input
2021-07-02 16:20:05 -05:00
Henning Makholm
870e8e38d5
Update CodeQL bundle to 20210702 / 2.5.7
2021-07-02 14:32:46 +02:00
Aditya Sharad
c6728b6769
Merge branch 'main' into source-root-input
2021-07-01 09:36:10 -07:00
Mario Campos
a607042aab
Recompile code after accepting suggestions from PR #607 review
2021-06-30 12:36:51 -05:00
Andrew Eisenberg
68f742b0d4
Clarify missing LoC baseline message
2021-06-30 09:11:15 -07:00
Mario Campos
e1cd5244c8
Recompile JS files to bring JS inline with TS for PR #607
2021-06-29 16:17:28 -05:00
Mario Campos
337ae83a84
Make 'source-root' init input relative to github.workspace
...
In the previous commit, the default value of the input is ${{ github.workspace }}
which means that most uses of this input would probably prefix their paths with
${{ github.workspace }}, especially since actions/checkout's 'path' input
must be under ${{ github.workspace }}. Therefore, it doesn't make much sense for
this to be an absolute file path.
Instead, it's more intuitive to make this relative to the repository.
2021-06-29 16:00:55 -05:00
Mario Campos
42babdf2c1
Add 'source-root' input to init action
...
This input is exposed in the CodeQL CLI as the flag --source-root, allowing
users of the CLI to set --source-root different from --working-dir. However,
in codeql-action, these two paths are conflated and it poses problems for
users with complicated build environments, in which a source root may be
a child of the working directory.
Most users should not notice this, as the default value is
${{ github.workspace }}, as it is implied now (`path.resolve()`).
2021-06-29 15:16:32 -05:00
Edoardo Pirovano
d9050f49a3
Merge branch 'main' into local-bundle
2021-06-28 23:53:41 +01:00
Edoardo Pirovano
a7dac5c3db
Address PR comment.
2021-06-28 23:52:53 +01:00
Edoardo Pirovano
8f4c2c76ad
Allow local instead of downloaded CodeQL
2021-06-28 18:11:13 +01:00
Edoardo Pirovano
ef852c006a
Support splitting of DB creation and query execution
2021-06-28 17:14:22 +01:00
Andrew Eisenberg
67312df7cf
Merge branch 'main' into aeisenberg/pack-in-inputs
2021-06-25 10:30:24 -07:00
Andrew Eisenberg
4087f37d90
Add extra integration test for packaging
...
Also, update the options and inputs documentation.
2021-06-25 10:07:51 -07:00
Edoardo Pirovano
85ac9fe26e
Remove misleading comment.
2021-06-25 14:28:43 +01:00
Edoardo Pirovano
40852fa52a
Improve error messages from CLI invocations
2021-06-24 23:38:13 +01:00
Andrew Eisenberg
af32a29f03
Merge branch 'main' into simon-engledew/fix-runner-temp-missing
2021-06-24 13:48:45 -07:00
Arthur Baars
a1f71cfecf
Add Ruby to 'isInterpretedLanguage'
2021-06-24 19:13:05 +02:00
Simon Engledew
26ade03b50
Just reverse test case
2021-06-24 18:00:10 +01:00
Simon Engledew
9200db3ec4
Restore original getCodeQLActionRepository behaviour
2021-06-24 17:52:48 +01:00
Andrew Eisenberg
c5434c91d8
Merge branch 'main' into csharp-loc
2021-06-23 16:22:14 -07:00
Andrew Eisenberg
6e577cfca3
Add new packs input to init action
...
This input allows users to specify which packs to run. It works in
unison with the packs block of the config file and it is similar to
how `queries` works. They both use `+` in the same way.
Note that the `#TODO` in the pr check is still around, but the CLI
is available. I will remove the TODO in the next commit.
2021-06-23 16:08:35 -07:00
Edoardo Pirovano
68b68732c6
Fix C# line counting and add test
2021-06-23 23:39:44 +01:00
Chris Gavin
59560e54ac
Replace custom tool download method with the one in the tool cache library.
2021-06-23 14:28:37 +01:00
Henry Mercer
1cd2cd12b4
Merge branch 'main' into hmakholm/pr/2.5.6
2021-06-22 17:12:00 +01:00
Henning Makholm
8d50a5fd90
Update CodeQL bundle to 20210622 / 2.5.6
2021-06-22 17:27:16 +02:00
Robert
00791d5d56
remove old lib file
2021-06-22 13:45:47 +01:00
Robert
146c897909
Upload CodeQL databases
2021-06-22 13:05:12 +01:00
Robert
d893508e3a
Revert "Upload CodeQL databases"
2021-06-21 10:26:02 +01:00
Robert
f3cd5fa001
Add workflow input to disable uploads
2021-06-18 09:56:15 +01:00
Robert
33ac512514
Merge branch 'main' into upload-database
2021-06-18 09:50:05 +01:00
Robert
69c30da5ad
Merge pull request #565 from github/robertbrignull/upload_ghes
...
Only attempt to upload on dotcom
2021-06-17 12:42:23 +01:00
Robert
b985a67b97
Only attempt to upload on dotcom
2021-06-16 17:24:26 +01:00
Robert
c989ee7b39
Provide a better error message
2021-06-16 17:00:26 +01:00
Robert
d693b3cb0d
Check if on default branch before uploading database
2021-06-16 14:43:42 +01:00
Andrew Eisenberg
20aafcd90c
Remove unnecessary type assertions
2021-06-10 11:15:03 -07:00
Robin Neatherway
429471162a
Update cleanup to bundle
2021-06-10 17:09:58 +01:00
Robert
2a9a602a5e
Upload databases from analyze action
2021-06-10 16:09:58 +01:00