Chris Gavin
a1d945f14f
Add a `.editorconfig` with our chosen formatting options.
2020-06-23 14:38:30 +01:00
Alex Kalyvitis
98f8945cfb
Merge pull request #73 from github/add-analyze-threads-flag
...
Add threads flag to analyze action
2020-06-23 15:03:08 +02:00
Alex Kalyvitis
9133b2b54d
Merge branch 'main' into add-analyze-threads-flag
2020-06-23 14:46:41 +02:00
Robert
8e098cbb87
Merge pull request #72 from github/release-sorting
...
Fixing sorting of PRs
2020-06-23 13:06:31 +01:00
Alex Kalyvitis
7ae8c32cbe
Merge branch 'main' into add-analyze-threads-flag
2020-06-23 13:22:23 +02:00
Robert
beedd317d2
Merge branch 'main' into release-sorting
2020-06-23 12:13:58 +01:00
Sam Partington
8a67191278
Merge pull request #76 from github/update-release-branch-base
...
Update release branch base
2020-06-23 10:27:04 +01:00
Sam Partington
1ce7f98898
Update other references to master in release script
2020-06-23 10:10:23 +01:00
Sam Partington
6d413dd723
Update release branch script as main branch is now "main".
...
See https://github.com/github/dsp-code-scanning/issues/1457
2020-06-23 10:08:23 +01:00
Alex Kalyvitis
31996935e6
reformat code and allow negative values for threads
2020-06-22 21:39:09 +02:00
Alex Kalyvitis
bcb5b28954
format code
2020-06-22 18:55:20 +02:00
Alex Kalyvitis
bc9591a12b
revert node_modules from master
2020-06-22 17:20:03 +02:00
Alex Kalyvitis
dcba70915d
move functions to util.ts
2020-06-22 17:17:25 +02:00
Alex Kalyvitis
2758bd30c8
avoid floating point division of ram
2020-06-22 14:51:18 +02:00
Alex Kalyvitis
f4001a0790
update dependencies
2020-06-22 13:28:23 +02:00
Alex Kalyvitis
d55f711b71
introduce inputs.threads flag to analyze action
2020-06-22 13:27:03 +02:00
Robert
2845a93f4c
Fixing sorting of PRs
2020-06-22 11:27:50 +01:00
Alex Kalyvitis
74f864bee1
Merge pull request #69 from github/fix-self-hosted-stale-bundle-download
...
Use bundle URL version as the cache version
2020-06-19 14:33:53 +02:00
Alex Kalyvitis
38c231113e
build ts
2020-06-19 13:41:33 +02:00
Alex Kalyvitis
34c941dc31
Use Object.entries() instead of checking hasOwnProperty
...
Co-authored-by: Robert <robertbrignull@github.com>
2020-06-19 13:27:45 +02:00
Alex Kalyvitis
5eccb79587
improve regex
2020-06-19 12:07:06 +02:00
Alex Kalyvitis
11a9af0387
update deps again
2020-06-18 19:10:34 +02:00
Alex Kalyvitis
6d036cef6f
Merge branch 'master' into fix-self-hosted-stale-bundle-download
2020-06-18 19:08:04 +02:00
Alex Kalyvitis
f9768ac4ba
update deps
2020-06-18 18:43:30 +02:00
Alex Kalyvitis
3ff198f23b
fix tslint errors
2020-06-18 18:29:25 +02:00
Alex Kalyvitis
ff8fe44e0c
compiled js
2020-06-18 16:40:02 +02:00
Alex Kalyvitis
3f2a60be8a
switch to semver instead of hash
2020-06-18 16:31:39 +02:00
Alex Kalyvitis
4c6749115a
update @actions/tool-cache, install semver, nock
2020-06-18 16:31:13 +02:00
Sam Partington
608ed15968
Merge pull request #67 from github/dont-fail-on-symlinks
...
Ensure config path comparisons don't fail where workspace path is a symlink
2020-06-18 09:21:27 +01:00
Sam Partington
14f179f70b
Merge branch 'master' into dont-fail-on-symlinks
2020-06-17 16:14:36 +01:00
Sam Partington
dc4009c7ed
Merge pull request #68 from github/ignore-javascript
...
Configure VSCode to ignore transpiled JavaScript
2020-06-17 16:14:07 +01:00
Sam Partington
14d602cced
Fix test failures introduced by making code more robust
2020-06-17 16:00:19 +01:00
Sam Partington
24096a1cb3
Don't fail if query path doesn't exist
2020-06-17 15:55:14 +01:00
Alex Kalyvitis
74d434c5ca
fix lint errors
2020-06-17 16:19:00 +02:00
Alex Kalyvitis
fff3de9938
wip: hash bundle url and use it as the cache version
2020-06-17 16:13:58 +02:00
Sam Partington
1aae76b906
Configure VSCode to ignore transpiled JavaScript
2020-06-17 14:57:29 +01:00
Sam Partington
013c02758e
Apply realpathSync sooner
...
Fixes lint: https://github.com/github/codeql-action/pull/67/checks?check_run_id=777215812
2020-06-16 17:04:30 +01:00
Sam Partington
0b53ebbc36
Fix config path comparisons where workspace path is a symlink
...
Before this change, config-utils.ts › load non-empty input was failing on Mac with:
The configuration file "/var/folders/gx/y8v1507s29d97m1r_5kq0s000000gn/T/codeql-action-oum66d/input" is invalid: property "queries.uses" is invalid as the local path "" is outside of the repository
The reason is that the tmp directory (which is where the config file was put by the test) was a symlink.
2020-06-16 16:59:15 +01:00
Robert
6de3e1cde4
Merge pull request #65 from github/init_missing_matrix
...
Add matrix input to init action
2020-06-16 13:10:16 +01:00
Robert
c9d0312cb7
Merge branch 'master' into init_missing_matrix
2020-06-16 12:47:50 +01:00
Robert
0cdf645694
Merge pull request #63 from github/add_dispatch_instructions
...
Add simple instructions for sending repository dispatch event
2020-06-16 09:57:41 +01:00
Robert
d00417a341
Merge branch 'master' into add_dispatch_instructions
2020-06-16 09:34:13 +01:00
Robert
7928587bdf
Update .github/workflows/update-release-branch.yml
...
Co-authored-by: Alex Kalyvitis <1204095+alexkappa@users.noreply.github.com>
2020-06-16 09:34:06 +01:00
Sam Partington
87ecd0d0cc
Merge pull request #64 from github/remove-jest-config
...
Remove jest config as tests use Ava now
2020-06-15 17:04:17 +01:00
Sam Partington
7e2e297e07
Remove jest config as tests use Ava now
...
Usage of Jest was removed in https://github.com/github/codeql-action/pull/18
2020-06-15 16:24:34 +01:00
Robert Brignull
b97097aaed
add matrix input to init action
2020-06-15 15:52:53 +01:00
Robert
8a8a49d3c5
Merge pull request #39 from github/validate_sarif
...
Validate sarif against schema before uploading
2020-06-15 14:59:31 +01:00
Robert Brignull
fcb696ec59
Merge branch 'master' into validate_sarif
2020-06-15 14:40:01 +01:00
Robert Brignull
c2d2dfdcdd
add instructions
2020-06-15 14:17:16 +01:00
Robert
042ab541fd
Merge pull request #61 from github/disable_queries
...
Add a quick way to disable builtin queries
2020-06-15 14:14:57 +01:00