Commit Graph

981 Commits

Author SHA1 Message Date
Marco Gario 56407639dd Add node lib/dbhash_cli.js <dir> 2020-12-10 12:19:48 +01:00
Esben Sparre Andreasen 4c520639d9 fixup 2020-12-10 11:37:17 +01:00
Esben Sparre Andreasen 766aa7fda1 merge chris 2020-12-10 11:29:11 +01:00
Esben Sparre Andreasen 6786d28c28 fixup 2020-12-10 11:14:52 +01:00
Esben Sparre Andreasen f0ea9e357e move all hash computations to hash-inputs 2020-12-10 11:08:25 +01:00
Esben Sparre Andreasen 0dca9e1d58 Merge remote-tracking branch 'origin/query-compile' into hackathon-2020/hashing 2020-12-10 10:14:13 +01:00
Chris Gavin 8d1985f68f Allow using a hash to restore SARIF results from a cache and reuse them. 2020-12-10 09:06:45 +00:00
Esben Sparre Andreasen b8222a4e48 split hash-database into multiple actions 2020-12-10 09:52:02 +01:00
Esben Sparre Andreasen b4d4b0b74a Introduce hash-database action 2020-12-10 01:01:10 +01:00
Marco Gario 991cb0536d Output final hash for debuggin 2020-12-09 21:56:36 +01:00
Marco Gario decd1b45be Include toolcache 2020-12-09 21:45:24 +01:00
Marco Gario bc7c99fe9d Fix glob 2020-12-09 21:35:55 +01:00
Marco Gario a59b78de00 Compute hash of compiled queries 2020-12-09 21:29:25 +01:00
Marco Gario 3478b5fea1 Add glob-hash dependency 2020-12-09 21:28:55 +01:00
Marco Gario 19e9176f97 Call query compile during init 2020-12-09 14:55:55 +01:00
Chris Gavin 8cbc02a4c2 Merge pull request #339 from github/split-python2-python3-install
Install Python 3 tools before installing Python 2 tools.
2020-12-07 15:55:57 +00:00
Chris Gavin 222b57e35b Merge branch 'main' into split-python2-python3-install 2020-12-07 14:40:04 +00:00
Chris Gavin 6156eb9557 Install Python 3 tools before installing Python 2 tools. 2020-12-07 13:59:49 +00:00
Robin Neatherway 682158920d Merge pull request #329 from github/robertbrignull/meta
Send base_sha and base_ref when appropriate
2020-12-07 12:47:11 +00:00
Robin Neatherway 7afd3334e3 Adjust type annotations on payload 2020-12-07 12:35:48 +00:00
Robin Neatherway d0d858c809 Merge branch 'main' into robertbrignull/meta 2020-12-07 12:34:21 +00:00
Robert 494945f710 Merge pull request #337 from github/robertbrignull/merge-v1
Merge v1 into main to fix conflicts
2020-12-04 17:01:18 +00:00
Robert e9152c326e Merge remote-tracking branch 'origin/v1' into robertbrignull/merge-v1 2020-12-04 16:44:17 +00:00
Simon Engledew a43ce966aa Merge pull request #332 from github/simon-engledew/string-branches
Handle the case where branches may be strings, wildcards
2020-12-04 16:27:00 +00:00
Simon Engledew 18c6a7d6d1 fix another edge case 2020-12-04 15:18:22 +00:00
Simon Engledew 1dc40ba165 Merge remote-tracking branch 'origin/main' into simon-engledew/string-branches 2020-12-04 12:36:42 +00:00
Simon Engledew 7100f22932 Add a bunch of tests cases and harden the function aganst malformed workflows 2020-12-03 13:41:55 +00:00
Simon Engledew 7310a508e1 Merge pull request #335 from github/simon-engledew/backport-v1
Backport v1 into main
2020-12-02 16:54:52 +00:00
Simon Engledew f3c9aee686 Hide an warning that is confusing on GHES 2020-12-02 16:49:54 +00:00
Simon Engledew 107fe8422f Add advanced test case 2020-12-02 08:48:34 +00:00
Simon Engledew ec8015bc03 Merge branch 'main' into simon-engledew/string-branches 2020-12-02 08:35:11 +00:00
Simon Engledew 78b9d23d09 Remove unecessary if statement 2020-12-02 08:34:18 +00:00
Simon Engledew 1dd265aef3 Merge pull request #333 from github/simon-engledew/hide-warnings-v1
Hide a warning that is confusing on GHES
2020-12-02 08:31:48 +00:00
Simon Engledew 698e2a5487 Just convert the pattern into a RegExp... 2020-12-01 20:56:07 +00:00
Simon Engledew 4d862616ce First iteration on feedback 2020-12-01 20:08:41 +00:00
Simon Engledew 56b1ead679 Do not show lint failed in the UX if it happens 2020-12-01 17:23:00 +00:00
Simon Engledew b1be00db57 Test the branch patterns work both ways 2020-12-01 17:16:33 +00:00
Simon Engledew c3a9325bd8 Hide an warning that is confusing on GHES 2020-12-01 16:59:15 +00:00
Simon Engledew f99af1c014 Have a catch all coded error for lint failures 2020-12-01 15:41:04 +00:00
Simon Engledew 145a3c1ed9 Add more wildcard examples 2020-12-01 15:33:27 +00:00
Simon Engledew 14719432ef Add more test cases 2020-12-01 15:30:11 +00:00
Simon Engledew c8ee1f4ef3 Handle wildcard branches 2020-12-01 15:21:30 +00:00
Simon Engledew ac1c081de8 Handle the case where branches may be strings, including "*" 2020-12-01 12:03:50 +00:00
Robin Neatherway e6174fc6cf Merge pull request #326 from github/rneatherway/on-push-notice
Add an explicit deprecation date
2020-12-01 11:28:15 +00:00
Robin Neatherway 1010b1f743 Merge branch 'main' into rneatherway/on-push-notice 2020-12-01 11:12:14 +00:00
Robin Neatherway 8e0e34a3e6 Add an explicit deprecation date
So that we can remove support for the beta configuration of
`on: push`-only we should communicate a date after which this
will not work.
2020-12-01 11:10:20 +00:00
Chris Gavin f65e6c40fa Merge pull request #330 from github/check-files-on-release
Add a check to ensure expected CodeQL release files exist.
2020-12-01 10:56:58 +00:00
Chris Gavin fb2a3bf840 Add a check to ensure expected CodeQL release files exist. 2020-12-01 09:26:05 +00:00
Robin Neatherway d99e994194 Fix test to be immune to running on Actions 2020-11-30 18:35:55 +00:00
Robin Neatherway 836cbe0784 Remove output files for deleted source 2020-11-30 18:31:21 +00:00