Rasmus Wriedt Larsen
5f20f1984c
expected-changes: Use set constructor
2024-11-04 14:14:15 +01:00
Tom Hvitved
a89c82bf74
Handle matrix jobs in accept changes script
2024-11-04 11:49:35 +01:00
Michael Nebel
ccadfa134e
Shared: Update the model generator script to allow execution of the mixed model generator queries.
2024-09-27 09:22:15 +02:00
Michael Nebel
7bf7df2f99
C#/Java: Add model generator option for making content based summaries.
2024-09-03 12:58:13 +02:00
Michael Nebel
a108b9c37d
C#: Fix some bugs in the python script for the model generator.
2024-07-02 07:52:18 +01:00
Michael Nebel
78d23ee044
C#/Java: Allow the model generator to use 32GB of ram.
2024-06-13 08:35:52 +02:00
Rasmus Wriedt Larsen
24f8b5f203
misc: Fix docstring warning
...
When using a sufficiently new version of Python, it will give a warning
about the escape sequence `\_` in `¯\_(ツ)_/¯` not being a valid escape
:D fix is to make the docstring a raw string.
Thanks @owen-mc
2024-05-08 13:56:11 +02:00
Rasmus Wriedt Larsen
ccad70897d
Add `--dont-wait` option
2024-05-02 15:39:07 +02:00
Rasmus Wriedt Larsen
3239af9973
Handle multiple job failure URLs
...
CI has changed how jobs are being run 🤷
2024-05-02 15:31:56 +02:00
Rasmus Wriedt Larsen
2cff081f2b
Minor fixes to CI script.
...
I had problems with proper resolution of codeql_repo_dir with old python installation, this fixes it
2024-05-02 15:13:50 +02:00
Rasmus Wriedt Larsen
377c6b4cc8
Merge pull request #12557 from felickz/patch-1
...
add security-severity score to code scanning query list
2024-04-30 13:48:22 +02:00
Chad Bentz
f77f91ef49
move security-severity to end of column list in csv
...
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
2024-04-16 16:02:15 -04:00
Michael Nebel
52be6579b7
Print usage information for accept-expected-changes script in case PR auto detection fails.
2024-04-12 14:31:25 +02:00
Chad Bentz
b12f4d97f8
Merge branch 'main' into patch-1
2024-01-17 09:25:28 -05:00
Michael Nebel
e44b2d26ce
Java/C#: Make it possible to specify subfolder location of generated model files.
2024-01-04 14:05:13 +01:00
Michael Nebel
5796297fc3
C#/Java: Update the model generator script usage examples and description.
2023-12-20 10:17:08 +01:00
Chad Bentz
ee3085e15e
Update generate-code-scanning-query-list.py
2023-12-14 14:09:14 -05:00
Tom Hvitved
f920bc164a
C#: Update model generator to output one file per namespace
2023-11-09 08:34:36 +01:00
Tom Hvitved
74f483a6f5
C#: Update model conversion queries
2023-11-09 08:34:35 +01:00
Jami
c7b9e405b7
Merge pull request #14517 from jcogs33/jcogs33/update-framework-cov-diff-workflow
...
CI: Update framework coverage difference commenter
2023-10-25 14:31:00 -04:00
Chad Bentz
53e96e5adf
Merge branch 'main' into patch-1
2023-10-25 10:00:16 -04:00
Jami
7c053ed428
CI: add .strip() to comment/ID file read
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
2023-10-24 17:48:38 -04:00
Jami Cogswell
687ecffe71
CI: don't upload comment/ID artifact if no existing comment
2023-10-22 15:28:07 -04:00
Jami Cogswell
ee4a9c3f8d
CI: remove extraneous quotes that were causing 'get_previous_run_id' to always fail with a 'list index out of bounds' error
2023-10-19 19:23:14 -04:00
Jami Cogswell
6e29b70100
CI: update comment (if it exists)
2023-10-19 19:19:25 -04:00
Owen Mansel-Chan
06a600c7fb
Set up automated coverage reports for Go
...
Copied from https://github.com/github/codeql/pull/6148
2023-10-11 21:09:54 +01:00
Rasmus Wriedt Larsen
301133ad94
Misc: Fixup for `accept-expected-changes-from-ci.py`
...
Allow empty lines while looking for diff (between `---expected` and `FAILED`). This can happen when there is `Locations outside the test directory` since an empty line is printed after that warning message (this output can be interleaved with the diff due to parallel execution).
2023-09-04 09:32:06 +02:00
Chad Bentz
6f60eb9e1a
Merge branch 'main' into patch-1
2023-08-09 14:31:26 -04:00
Rasmus Wriedt Larsen
69aa099ed1
Misc: Fixup `accept-expected-changes-from-ci.py`
...
I guess there has been a rename of the URL from `/jobs/` to `/job/`, since the script has been working previously.
2023-08-09 10:44:31 +02:00
Chad Bentz
845f384df6
Merge branch 'main' into patch-1
2023-08-04 17:57:53 -04:00
Rasmus Wriedt Larsen
54d35dbc0b
Misc: Delete empty CONSISTENCY files
...
As requested by `@hvitved`
2023-05-10 17:37:39 +02:00
Rasmus Wriedt Larsen
cb8c4094fc
Misc: Add `--force` option
2023-05-10 17:20:32 +02:00
Rasmus Wriedt Larsen
c9680b9202
Misc: Look for .expected changes from `integration-tests...`
2023-05-03 17:40:21 +02:00
Rasmus Wriedt Larsen
b048f9d8c4
Misc: Allow specifying SHA directly to script
2023-05-03 17:39:20 +02:00
Rasmus Wriedt Larsen
e3fc6d67cc
Misc: Allow no internal CI
2023-05-03 17:31:52 +02:00
Rasmus Wriedt Larsen
f2def84337
Misc: Add script to accept `.expected` changes from CI
...
This script can be used to go over `codeql test run` expected/actual log
output from actions CI checks for a PR, and apply patches locally to
make the tests pass.
Designed for use by GitHub employees, since it needs access to internal
CI runs. Just run this tool while the branch for the PR is checked out!
You need the `gh` cli tool installed and authenticated.
Example can be seen in https://github.com/github/codeql/pull/12950
2023-04-30 14:59:50 +02:00
Chad Bentz
39c52c9ecf
add security-severity to code scanning query list
2023-03-16 11:27:23 -04:00
Calum Grant
779c2365fe
Merge pull request #12091 from github/cg/shared-code-metrics
...
Script to generate shared code metrics
2023-02-20 16:58:30 +00:00
Calum Grant
2cfd6c5597
Update misc/scripts/shared-code-metrics.py
...
Co-authored-by: Anders Peter Fugmann <anders@fugmann.net>
2023-02-17 14:26:58 +00:00
Calum Grant
7d8b624a71
Basic script to generate shared code metrics
2023-02-03 16:24:39 +00:00
Rasmus Wriedt Larsen
e8714c9edb
Misc: Add Swift to `generate-code-scanning-query-list.py`
2023-01-25 15:22:20 +01:00
Rasmus Wriedt Larsen
b220c2f51d
Misc: Add `security-experimental` to `generate-code-scanning-query-list.py`
...
Since not all experimental queries is part of this new suite, it's nice
to be able to list them explicitly without having to replicate the logic
from the .qls file.
2023-01-25 15:20:49 +01:00
Michael Nebel
178fd0e9e1
C#/Java: Remove all dashes in mode-generator.
2023-01-11 13:13:33 +01:00
Michael Nebel
596c2c0345
C#/Java: Rename the modelgenerator and converter predicate names.
2022-12-14 13:43:34 +01:00
Michael Nebel
1a226a15bf
C#/Java: Cleanup up printing of generated models.
2022-12-09 15:04:43 +01:00
Michael Nebel
2cb88037a4
C#/Java: Rename Negative Summary Model to Neutral Model in conversion and generator tooling.
2022-12-09 15:04:43 +01:00
Henry Mercer
3036b15af2
Merge branch 'main' into henrymercer/check-query-ids
2022-12-08 13:05:46 +00:00
Henry Mercer
9c27cc0abe
Add a script to check for duplicate query IDs
2022-12-05 18:51:48 +00:00
Michael Nebel
19db8e5d82
Java: Address review comments and also delete comment about type based summaries only being for C#.
2022-12-05 14:07:16 +01:00
Michael Nebel
243b94b54a
Java/C#: Delete old model generator scripts and rename the new ones.
2022-12-05 11:39:44 +01:00