Aditya Sharad
f4e2dc747e
Merge pull request #531 from github/adityasharad/actions/enterprise-versions-upstream-only
...
Actions: Run enterprise versions workflow only on the parent repo
2021-05-25 19:02:45 -07:00
Andrew Eisenberg
6764ac6d01
Merge pull request #527 from github/update-v1-eeaefb60
...
Merge main into v1
2021-05-25 19:00:39 -07:00
Aditya Sharad
a55e7e1f67
Actions: Run enterprise versions workflow only on the parent repo
...
Don't run the cron workflow on forks, since they lack the necessary secrets.
2021-05-25 17:48:14 -07:00
Arthur Baars
44c6b33642
Address comments
2021-05-24 11:00:02 +02:00
Arthur Baars
4f51b8c47e
Check available languages
2021-05-23 21:14:07 +02:00
Andrew Eisenberg
800a951427
Add release and mergeback workflows
...
This commit ensures that the changelog is updated before a release with
the correct date and version.
Also, after a release, a mergeback PR is created to ensure that the
changelog update and version bump is available in main.
2021-05-21 11:04:38 -07:00
Arthur Baars
91700099ba
Fix unit test
2021-05-21 18:45:08 +02:00
Arthur Baars
c3633dc9bd
Add Ruby as a possible language
2021-05-21 18:45:08 +02:00
Andrew Eisenberg
eeaefb6054
Merge pull request #517 from github/aibaars-additional-packs
...
Use --additional-packs instead of --search-path
2021-05-21 09:31:17 -07:00
Andrew Eisenberg
c3e0f887ab
Merge branch 'main' into aibaars-additional-packs
2021-05-21 09:21:54 -07:00
Arthur Baars
1ad5a6c1be
Merge pull request #518 from github/aibaars-no-queries
...
Ensure queries[language] objects are initialized
2021-05-21 12:54:23 +02:00
Arthur Baars
6a14accb41
Fix tests
2021-05-21 12:41:35 +02:00
Arthur Baars
84bec4d116
Check queries in initConfig
2021-05-21 12:23:00 +02:00
Arthur Baars
9aca271fbb
Remove superfluous if
2021-05-21 12:07:30 +02:00
Arthur Baars
ec011ddfdb
Ensure queries[language] objects are initialized
2021-05-21 10:42:14 +02:00
Arthur Baars
69cc3550c8
Use --additional-packs instead of --search-path
2021-05-21 10:40:06 +02:00
Aditya Sharad
8fa2ef886e
Merge pull request #515 from adityasharad/analyze/summary-logging
...
Analyze: Improve log grouping and log the analysis summary in its own group
2021-05-20 15:49:26 -07:00
Aditya Sharad
f84cc5e6f1
Fix trailing newline in package.json
...
As produced by npm ci && npm run removeNPMAbsolutePaths.
2021-05-20 14:12:37 -07:00
Aditya Sharad
512d4671bc
Decode CodeQL stdout as UTF-8
2021-05-20 14:08:29 -07:00
Aditya Sharad
741bd73e8e
Changelog: Add note for grouping of analysis logs
2021-05-20 12:32:10 -07:00
Aditya Sharad
031ec8753a
Group log messages while uploading results
2021-05-20 12:32:10 -07:00
Aditya Sharad
19fe63f821
Analyze: Log the analysis summary in its own group
...
Fix grouping of the analysis logs, so that custom query logs also get grouped.
Capture the stdout of codeql database analyze, which contains the analysis summary
from summary and diagnostic queries.
Log this output in its own group, along with the baseline computed in the Action.
2021-05-20 12:32:09 -07:00
Andrew Eisenberg
6a9815718a
Merge pull request #514 from github/aeisenberg/first-changelog-entry
...
Add the first changelog entry
2021-05-20 10:47:51 -07:00
Andrew Eisenberg
7ae8d165a6
Add the first changelog entry
...
(Adding the changelog itself.)
2021-05-20 09:24:30 -07:00
Andrew Eisenberg
06b386ac6c
Merge pull request #507 from github/aeisenberg/changelog
...
Add a changelog
2021-05-19 15:41:37 -07:00
Andrew Eisenberg
1b3a351d6d
Merge branch 'main' into aeisenberg/changelog
2021-05-19 15:28:21 -07:00
Andrew Eisenberg
1564a6d863
Fix typo in changelog
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2021-05-19 15:28:15 -07:00
Andrew Eisenberg
8566f9b061
Add a changelog
...
Adds an empty changelog file and a reminder to update it when opening
pull requests.
Also, adds a 1.0.0 version number in the package.json, which is what
we _could_ use for version numbering.
2021-05-19 15:19:36 -07:00
Andrew Eisenberg
bc39b2101e
Merge pull request #487 from RA80533/chore/--build
...
Use `--build`
2021-05-19 13:41:01 -07:00
Andrew Eisenberg
98104d89d9
Merge branch 'main' into chore/--build
2021-05-19 12:44:31 -07:00
RA80533
781da98328
Remove final newline
2021-05-19 15:12:54 -04:00
Henning Makholm
88f6e15932
Merge pull request #508 from github/update-v1-79c79f1b
...
Merge main into v1
2021-05-19 15:11:11 +02:00
Edoardo Pirovano
79c79f1be5
Add configuration option to set CodeQL DB location
2021-05-18 00:13:36 +01:00
Henning Makholm
feccdcb876
Merge pull request #506 from github/hmakholm/pr/2.5.5
...
Update CodeQL bundle to 20210517 / 2.5.5
2021-05-17 21:02:51 +02:00
Henning Makholm
95f5a25b5d
Update CodeQL bundle to 20210517 / 2.5.5
2021-05-17 20:38:22 +02:00
Andrew Eisenberg
b393038372
Merge pull request #504 from github/update-v1-21830ef0
...
Merge main into v1
2021-05-17 08:44:48 -07:00
Andrew Eisenberg
e94d93ad78
Merge branch 'main' into patch-1
2021-05-17 08:30:13 -07:00
Henning Makholm
21830ef0c1
Merge pull request #503 from github/hmakholm/pr/warn-magic-names
...
Add warnings about CLI hack to codeql.ts
codeql-bundle-20210517
2021-05-14 21:57:44 +02:00
Henning Makholm
e7d4215894
Add warnings about CLI hack to codeql.ts
...
These warnings refer to a hack that was added to the CLI in
https://github.com/github/semmle-code/pull/39335
They can be removed again once the CLI has a more principled way for
the CLI to recognize that it's being invoked by the runner/action.
2021-05-14 21:23:13 +02:00
Andrew Eisenberg
97887fe996
Merge pull request #501 from github/aeisenberg/add-task
...
Add a tasks.json
2021-05-13 12:35:33 -07:00
Andrew Eisenberg
da06f4f01b
Merge branch 'main' into aeisenberg/add-task
2021-05-13 12:25:54 -07:00
Andrew Eisenberg
6a0bd27159
Merge pull request #500 from github/aeisenberg/paths-include
...
Change include path for lines of code counting
2021-05-13 12:25:42 -07:00
Andrew Eisenberg
8e61fc214a
Change include path for lines of code counting
...
Previously, we were always using `**` in the include path. the
effect of this was to always count lines in the entire
repository unless explicitly added to the paths-ignore. This
was incorrect behaviour. Now we only using `**` if the include
path is otherwise empty.
2021-05-13 12:05:01 -07:00
Andrew Eisenberg
a77f6b0a58
Merge pull request #502 from github/aeisenberg/metric-id
...
Use the prefix id for keying into metrics rules
2021-05-13 12:03:01 -07:00
Andrew Eisenberg
8c963ea445
Merge branch 'main' into aeisenberg/metric-id
2021-05-13 11:12:15 -07:00
Andrew Eisenberg
e8b2a9884b
Use the prefix id for keying into metrics rules
...
Fixes a bug where we were looking for incorrect keys for metrics rules.
Previously, we were using full language names in the keys. Now, we use
the short language names in the metric ids. This is done through a
simplification of the code.
Also, this change does two smaller things:
1. Prints out the baseline count to the logs
2. Adds the `assertNever` function to ensure we never miss a case in
a switch statement. This function is borrowed from vscode-codeql.
2021-05-13 11:11:13 -07:00
Andrew Eisenberg
a924f03118
Merge pull request #499 from github/aeisenberg/non-parallel-loc
...
Update loc count library
2021-05-13 10:10:39 -07:00
Andrew Eisenberg
38c131a270
Add a tasks.json
...
This is just a helpful way to ensure you can run `tsc --watch` from
inside vscode.
2021-05-13 16:40:19 +00:00
Andrew Eisenberg
ddcb299283
Update loc count library
...
This version will count lines of code in each file serially. It still
runs all file system operations asynchronously. The only difference now
is that it will only count one file at a time. It is slower, but it
is able to count large repositories without running out of memory.
2021-05-12 16:33:05 -07:00
Aditya Sharad
4c0671c518
Merge pull request #495 from edoardopirovano/windows-env-file
...
Output environment file for Windows
2021-05-10 14:01:50 -07:00