Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
291 commits
Select commit Hold shift + click to select a range
7b6b703
Add quality tag to Actions maintainability query
Copilot Nov 3, 2025
0fc2502
Revert query file change and fix script to handle empty code-quality-…
Copilot Nov 3, 2025
20e23f8
Merge pull request #2 from felickz/copilot/fix-1760475-601388369-59cd…
felickz Nov 3, 2025
56e98c4
Rust: Accept trivial changes to test .expected files.
geoffw0 Nov 3, 2025
2497d8c
Initial plan
Copilot Nov 3, 2025
8f02ab1
Add test cases for actix-web, poem, and http-types cookie secure attr…
Copilot Nov 3, 2025
ee3d57e
Update test cases with correct APIs and run CodeQL test
Copilot Nov 3, 2025
c4d23d1
Actions: dont fail if no JS/TS code was found
asgerf Nov 4, 2025
105213d
Update javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java
asgerf Nov 4, 2025
077bcf6
Merge pull request #20740 from geoffw0/rustbarriers
geoffw0 Nov 4, 2025
81bb07a
JS: Fix check to account for override in tests
asgerf Nov 4, 2025
d297dcd
Merge pull request #20752 from asgerf/actions/dont-fail-if-no-js
asgerf Nov 4, 2025
b600255
C#: Enable overlay compilation in lib/qlpack.yml.
michaelnebel Oct 21, 2025
bcc6234
C#: Fix bad join due to overlay compilation.
michaelnebel Oct 29, 2025
b48ce8d
C#: Add overlay builtins to the dbscheme.
michaelnebel Sep 12, 2025
cfb6843
C#: Add upgrade- and downgrade scripts.
michaelnebel Sep 12, 2025
9026a5a
C#: Turn on overlay support in codeql-extractor.yml.
michaelnebel Sep 12, 2025
aa80558
C#: Add functionality to detect overlay mode and integrate in extract…
michaelnebel Sep 12, 2025
cab9d81
C#: Add unit test.
michaelnebel Sep 12, 2025
61f6512
C#: Sprinkle uses of OnlyScaffold to extract less when in overlay mode.
michaelnebel Sep 17, 2025
76ac2df
C#: Write overlay metadata at end of extraction.
michaelnebel Oct 21, 2025
121c150
C#: Define discarding predicates for expressions, statements, locatio…
michaelnebel Oct 23, 2025
8a34421
C#: Add QL overlay tests.
michaelnebel Oct 27, 2025
40035d2
C#: Add a locatable type to the dbscheme.
michaelnebel Oct 27, 2025
8927b0a
C#: Simplify the discarding and also discard type mentions and comments.
michaelnebel Oct 27, 2025
04d33cb
C#: Add discarding for diagnostics and extractor messages.
michaelnebel Oct 28, 2025
1d2f154
C#: Add change-note.
michaelnebel Oct 30, 2025
504bb9c
C#: Only scaffold assemblies in overlay mode, only extract expression…
michaelnebel Nov 3, 2025
d95ebc7
C#: Add using directives and type mentions as star entities.
michaelnebel Nov 3, 2025
7fe4877
Rust: Update test annotations.
geoffw0 Nov 4, 2025
50552da
Rust: Handle unqualified `UseTree`s in path resolution
hvitved Nov 3, 2025
55cf375
Rust: Add the cookies to jars, indicating that they're ready for use.
geoffw0 Nov 4, 2025
f6eabc2
Merge pull request #20722 from github/tausbn/python-move-points-to-pr…
yoff Nov 4, 2025
7ab25b5
C#: Change note.
aschackmull Nov 4, 2025
41bf910
Swift: Update supported versions in the documentation
jketema Nov 4, 2025
a29c9af
Update swift/third_party/resources/updating.md
jketema Nov 4, 2025
e5933d0
Rust: Add test cases with cookie builders.
geoffw0 Nov 4, 2025
21274d3
Rust: Add tests of poem CookieConfig.
geoffw0 Nov 4, 2025
4014df9
Post-release preparation for codeql-cli-2.23.4
invalid-email-address Nov 4, 2025
aac10c1
Merge branch 'main' into patch-4
felickz Nov 4, 2025
7383e4f
Rust: Test for another edge cases supported by two of the libraries.
geoffw0 Nov 4, 2025
5fed5a2
Rust: It turns out Poem defaults 'secure' to true.
geoffw0 Nov 4, 2025
ff06181
Rust: We actually want barriers on set_secure(false) as well as set_s…
geoffw0 Nov 4, 2025
5d9d6b9
Merge pull request #20757 from jketema/swift-doc-update
jketema Nov 5, 2025
68cd9ab
Swift: Update to Swift 6.2.1
jketema Nov 5, 2025
51475df
CODEOWNERS: Add code-scanning-language-coverage team to all extractors
IdrissRio Nov 5, 2025
02fd1dc
Merge pull request #20738 from aschackmull/csharp/guards-misc
aschackmull Nov 5, 2025
85175f6
Merge pull request #20714 from owen-mc/java/pretty-print-models-quant…
owen-mc Nov 5, 2025
046db04
Merge pull request #20758 from github/post-release-prep/codeql-cli-2.…
mbg Nov 5, 2025
5ec0494
Merge pull request #20731 from michaelnebel/csharp/updatedependencies
michaelnebel Nov 5, 2025
99a3692
Rust: Model poem cookie methods.
geoffw0 Nov 5, 2025
ad24b74
Rust: Fix for Poem cookies defaulting secure.
geoffw0 Nov 5, 2025
6e35cb9
Rust: Change note.
geoffw0 Nov 5, 2025
e780187
Rust: Add the model file (missed on previous commits).
geoffw0 Nov 5, 2025
db7b187
Rust: Add more variables tests
hvitved Nov 5, 2025
a19f49b
Swift: Update resources
jketema Nov 5, 2025
6476f60
Swift: Add change note
jketema Nov 5, 2025
a79c383
Swift: update `load.bzl`
jketema Nov 5, 2025
62e7768
Rust: Move async_std::io models.
geoffw0 Nov 5, 2025
5eac0f7
Merge pull request #20759 from jketema/swift-6.2.1
jketema Nov 5, 2025
1e7acc5
Merge branch 'main' into copilot/add-secure-cookie-test-cases
geoffw0 Nov 5, 2025
c80301d
Rust: Handle variables introduced in if-let guards
hvitved Nov 5, 2025
1ce787a
Merge branch 'main' into mv3
geoffw0 Nov 6, 2025
f8cde74
Merge pull request #20736 from github/copilot/add-constaccess-class
hvitved Nov 6, 2025
680870d
Rust: Fix after merge.
geoffw0 Nov 6, 2025
b4b444d
Merge pull request #20746 from geoffw0/mv3
geoffw0 Nov 6, 2025
0d76d58
CODEOWNERS: Add Go-related folders for extractor and autobuilder
IdrissRio Nov 6, 2025
000f33f
Merge pull request #20765 from hvitved/rust/variable-if-let-guard
hvitved Nov 6, 2025
446a877
C#: Report more timing metrics to the console logger.
michaelnebel Nov 6, 2025
0607100
C++: Add tests with missing flow.
MathiasVP Nov 6, 2025
1d5d272
C++: Add a few more models.
MathiasVP Nov 6, 2025
2b6a75f
C++: Accept test changes.
MathiasVP Nov 6, 2025
f0da0d9
C++: Add a few more models I noticed while here.
MathiasVP Nov 6, 2025
7c2b1a2
Merge pull request #20760 from github/idrissrio/codeowners-lang-coverage
IdrissRio Nov 7, 2025
3c20b95
Merge pull request #20747 from felickz/patch-4
RasmusWL Nov 7, 2025
7c670cd
C#: Address review comments and make more early returns in Populate.
michaelnebel Nov 7, 2025
1657dfb
C#: Remove expression population safeguard and guard creation of cons…
michaelnebel Nov 7, 2025
9d300e3
C#: Address comments in the QL implementation.
michaelnebel Nov 7, 2025
c91e561
Go: add dbscheme relations for overlay support
nickrolfe Aug 27, 2025
4a32598
Go: add extractor pack field indicating overlay support
nickrolfe Aug 27, 2025
05e5502
Go: recognize CODEQL_PATH_TRANSFORMER env var
nickrolfe Aug 27, 2025
604df21
Go: implement basic overlay extraction
nickrolfe Sep 1, 2025
99236f7
Go: skip overlay extraction of unchanged go.mod files
nickrolfe Sep 2, 2025
aff874e
Go: merge with incoming path transformer when setting GOPATH
nickrolfe Sep 3, 2025
4c009d5
Go: implement overlay discarding for @locatable
nickrolfe Sep 5, 2025
dd4f278
Go: apply path transformer for file TRAP labels
nickrolfe Sep 8, 2025
5aaed89
Go: pass source root from autobuilder to extractor
nickrolfe Sep 19, 2025
50e0128
Go: overlay workaround for cgo-processed files
nickrolfe Sep 24, 2025
e4c9bb3
Go: enable overlay compilation
nickrolfe Sep 5, 2025
10fa1d6
Go: be consistent in replacement of backslashes in file labels
nickrolfe Oct 23, 2025
734cba7
Go: add discard predicates for XML entities
nickrolfe Oct 31, 2025
44654bd
Go: avoid overlay-discarding @file entities
nickrolfe Nov 5, 2025
e32a5ca
Go: add some overlay-related logging
nickrolfe Nov 7, 2025
f163d01
C++: Clean up comments.
MathiasVP Nov 7, 2025
56b9566
C++: Fix mistakes in models of internal strcat and strcpy functions.
MathiasVP Nov 7, 2025
6a2debb
C++: Fix bad magic.
MathiasVP Nov 7, 2025
10ae374
Post-release preparation for codeql-cli-2.23.4
invalid-email-address Nov 7, 2025
dbadb6f
Merge pull request #20781 from github/post-release-prep/codeql-cli-2.…
mbg Nov 7, 2025
74b774e
Merge pull request #20769 from MathiasVP/add-more-flow-models
MathiasVP Nov 8, 2025
a922d50
C++: Factor out some conjuncts from 'interpretElement0' and into a ne…
MathiasVP Nov 8, 2025
bfe2b7d
C++: Use the new predicate to remove a cartesian-like join.
MathiasVP Nov 8, 2025
3d6b3a3
C++: Also join on the 'namespace'.
MathiasVP Nov 8, 2025
dfdc2a6
C++: Delete an incorrect comment.
MathiasVP Nov 8, 2025
d77b35c
Codegen: Add `Raw::getImmediateChild` and `Synth::getSynthParent`
hvitved Nov 6, 2025
0bf458a
Rust: Run codegen
hvitved Nov 9, 2025
a8a799c
Swift: Run codegen
hvitved Nov 9, 2025
74dd515
Merge pull request #20790 from hvitved/codegen/raw-child
hvitved Nov 10, 2025
c81f5f5
Rust: Remove elements superseded by attribute macro expansions
hvitved Nov 6, 2025
da966fc
CI: remove deprecated `macos-13` image
redsun82 Nov 10, 2025
fe690c9
Fix typo in workflow name
redsun82 Nov 10, 2025
63a2088
Add pull_request trigger for ripunzip workflow
redsun82 Nov 10, 2025
cd3b29f
Update OS versions in ripunzip workflow
redsun82 Nov 10, 2025
2ff4af9
Update default versions in build-ripunzip.yml
redsun82 Nov 10, 2025
7fb0e21
Make default refs valid on PR checks
redsun82 Nov 10, 2025
f9554e1
C++: Give proper `getName`s to more types and fix QLdoc
jketema Nov 8, 2025
a3f26fd
C++: Update expected test results after QL changes
jketema Nov 8, 2025
b660625
C++: Update dbscheme to address dataset check error
jketema Nov 8, 2025
0bf415a
C++: Add upgrade and downgrade scripts
jketema Nov 9, 2025
3de598e
Merge pull request #20800 from github/redsun82/remove-macos-13
redsun82 Nov 10, 2025
eb3e864
Merge pull request #20784 from jketema/qual-fail
jketema Nov 10, 2025
267a7f5
Merge pull request #20779 from MathiasVP/fix-bad-magic
MathiasVP Nov 10, 2025
29a294f
C++: Bind the columns inside the predicate instead of relying on 'bin…
MathiasVP Nov 10, 2025
7b052e2
Merge branch 'main' into fix-cp-in-external-flow
MathiasVP Nov 10, 2025
de367ea
Update rust/ql/lib/codeql/rust/elements/internal/ElementImpl.qll
hvitved Nov 10, 2025
ded1328
C#: Do not extract comments when scaffolding.
michaelnebel Nov 10, 2025
43118ec
C#: The extraction of the TypeMentions for return type and explicit i…
michaelnebel Nov 10, 2025
0a16cf6
C#: Do not require that comments and type locations are in source in …
michaelnebel Nov 10, 2025
c44b747
C#: Minor code quality improvements.
michaelnebel Nov 10, 2025
fd8bf99
Merge pull request #20783 from MathiasVP/fix-cp-in-external-flow
MathiasVP Nov 10, 2025
7bb65fe
Refactor secure cookie query
joefarebrother Oct 16, 2025
d3ea675
Simplify checks for assignments to false to creation case
joefarebrother Oct 17, 2025
a1864ed
Presere behaviour for insecure cookie constructor
joefarebrother Oct 17, 2025
71ad5a3
Refactor httponly cookie query
joefarebrother Oct 17, 2025
a87a03c
Move to main query pack
joefarebrother Oct 20, 2025
3cdfa8e
Update comments and names
joefarebrother Oct 20, 2025
bb010fe
Add tests for secure cookie using aspnetcore
joefarebrother Oct 23, 2025
a9b97f7
Add tests for insecure cookie using system.web
joefarebrother Oct 24, 2025
ae0b997
Add system.web tests for httponly cookie
joefarebrother Oct 24, 2025
6ba7ece
Add httponly tests for aspnet core + fixes
joefarebrother Oct 24, 2025
cdd1edd
Remove experimental versions
joefarebrother Oct 24, 2025
c734e74
Update qhelp
joefarebrother Oct 24, 2025
a6fda6b
CI: make `build-ripunzip.yml` auto-create update PR
redsun82 Nov 10, 2025
d8eeae7
Add additional test case for httponly cookies set to true
joefarebrother Oct 24, 2025
d29fc9d
Add changenote
joefarebrother Oct 24, 2025
0a085dc
Fix qhelp
joefarebrother Oct 28, 2025
544446b
Minor comment update
joefarebrother Oct 28, 2025
7d5388f
Update integration tests
joefarebrother Oct 28, 2025
b813c13
Restrict sinks to fix performance
joefarebrother Oct 29, 2025
c9a559a
Restrict Append calls to string arguments
joefarebrother Nov 10, 2025
d6b7424
C#: Add the same strategy in as in Java for XML element discarding.
michaelnebel Nov 10, 2025
3492811
C#: Add XML overlay tests.
michaelnebel Nov 10, 2025
0541dcc
C#: Add discarding for ASP elements.
michaelnebel Nov 10, 2025
02e696d
Update .github/workflows/build-ripunzip.yml
redsun82 Nov 10, 2025
eda2390
Merge pull request #20692 from joefarebrother/csharp-secure-cookie-pr…
joefarebrother Nov 10, 2025
8624f9c
Merge pull request #20749 from github/copilot/add-secure-cookie-test-…
geoffw0 Nov 11, 2025
6ef314e
Javascript: fix errors from upcoming `rules_java` update
redsun82 Nov 11, 2025
29a2f96
Merge branch 'main' into redsun82/ripunzip
redsun82 Nov 11, 2025
295744e
Set permissions
redsun82 Nov 11, 2025
47f2617
Use other compression method for ripunzip
redsun82 Nov 11, 2025
ff62c65
Javascript: avoid null pointer exception on boolean values
redsun82 Nov 11, 2025
d122534
Merge pull request #20671 from github/napalys/adjust_query_severity
Napalys Nov 11, 2025
9d51932
Merge branch 'main' into redsun82/update-rules_java
redsun82 Nov 11, 2025
8243521
Javascript: fix compilation error after scripted replacement
redsun82 Nov 11, 2025
0a4406d
Guards: Push forex-range constraint in.
aschackmull Nov 11, 2025
99baf98
Fix `build-ripunzip.yml`
redsun82 Nov 11, 2025
104f0e3
Fix `build-ripunzip.yml` archive step on windows
redsun82 Nov 11, 2025
a5279ec
Guards: Rank return expressions.
aschackmull Nov 11, 2025
e2671da
Fix `build-ripunzip.yml` archive step on macos
redsun82 Nov 11, 2025
3c7522c
Guards: Replace recursion through universal quantification with rank-…
aschackmull Nov 11, 2025
466a6f3
Post-release preparation for codeql-cli-2.23.5
invalid-email-address Nov 11, 2025
62e28d2
Guards: Simplify non-linear join.
aschackmull Nov 11, 2025
d3dc790
Merge branch 'main' into post-release-prep/codeql-cli-2.23.5
henrymercer Nov 11, 2025
f1076b9
Merge pull request #20813 from github/post-release-prep/codeql-cli-2.…
mbg Nov 11, 2025
0419667
Merge pull request #20802 from github/redsun82/ripunzip
redsun82 Nov 11, 2025
d5734af
Update ripunzip binaries to version v2.0.3
github-actions[bot] Nov 11, 2025
e5ba414
Go: add change-note for path transformer fixes
nickrolfe Nov 11, 2025
3483007
Ripunzip: use new archives
redsun82 Nov 11, 2025
c889524
Bump golang.org/x/mod
dependabot[bot] Nov 12, 2025
6b890ea
Java: Add test for multi-module projects with different Java versions
IdrissRio Oct 9, 2025
5247c88
Java: Add test for pom targeting Java 8 but rquiring Java 11
IdrissRio Oct 15, 2025
fcc54c1
Java: Add test for detecting `--add-exports` in poms
IdrissRio Oct 30, 2025
7dab2be
Java: Add test for Java 16 target when only Java 17+ is available
IdrissRio Oct 30, 2025
a82b5e7
Java: Add test for selecting the highest compiler release in a pom
IdrissRio Oct 30, 2025
3b7f2f4
Java: Add `LGTM_INDEX_ MAVEN_TOLLCHAINS_FILE` for new Maven integrat…
IdrissRio Nov 12, 2025
7c31cf1
Merge pull request #20815 from github/update-ripunzip
redsun82 Nov 12, 2025
54ff206
Merge pull request #20822 from github/dependabot/go_modules/go/extrac…
owen-mc Nov 12, 2025
2192d75
Java: Add test for a known FP.
aschackmull Nov 12, 2025
d680039
Guards: Support disjunctive implications.
aschackmull Nov 12, 2025
085d3c8
Merge pull request #20425 from michaelnebel/csharp/basicextractoroverlay
michaelnebel Nov 12, 2025
86465b3
Merge pull request #20623 from github/nickrolfe/go-extractor-overlay
nickrolfe Nov 12, 2025
467bd54
Merge pull request #20770 from hvitved/rust/attribute-macro-expansion…
hvitved Nov 12, 2025
e6d4e51
Java: Add change note for Maven Java version auto-detection
IdrissRio Nov 13, 2025
c6164b3
Address review comment
hvitved Nov 13, 2025
bfa3562
Merge pull request #20744 from hvitved/rust/path-resolution-unqualifi…
hvitved Nov 13, 2025
b31dfdd
Guards: Add elaborating comment.
aschackmull Nov 13, 2025
a28a718
Merge pull request #20814 from aschackmull/guards/wrapper-perf
aschackmull Nov 13, 2025
1b6b1e5
Rust: Fix bad join
hvitved Nov 13, 2025
caccee9
Merge pull request #20833 from hvitved/rust/fix-bad-join
hvitved Nov 13, 2025
f926a07
Rust: Fix bad join
hvitved Nov 13, 2025
acfca60
Bump golang.org/x/tools
dependabot[bot] Nov 14, 2025
72b7dd8
Rust: Add more type inference tests
hvitved Oct 23, 2025
e69ff0d
Rust: Restrict type propagation into arguments
hvitved Oct 23, 2025
c16b421
Rust: More type inference tests
hvitved Nov 4, 2025
79bdf89
Rust: Context typing for constructors
hvitved Nov 3, 2025
d916ebd
Java: Address review comments. Improve Change note
IdrissRio Nov 14, 2025
337e161
Merge pull request #20834 from hvitved/rust/fix-bad-join
hvitved Nov 14, 2025
4005a6e
Merge pull request #20835 from github/dependabot/go_modules/go/extrac…
owen-mc Nov 14, 2025
4c7f9c0
Rust: Rename `ContextType` -> `UnknownType`
hvitved Nov 14, 2025
8668473
Merge pull request #20683 from hvitved/rust/type-inference-arg-target…
hvitved Nov 14, 2025
59ac2d3
Move `TransformPath` into `FileLabelFor`
owen-mc Nov 14, 2025
dc029e8
C#: Accept qltest weirdness.
aschackmull Nov 14, 2025
4867306
C#: Add change note.
aschackmull Nov 14, 2025
96f57b2
Merge pull request #20615 from github/idrissrio/java-jdk
IdrissRio Nov 14, 2025
69e70d7
Reapply "Merge pull request #20645 from paldepind/cpp/range-analysis-…
paldepind Nov 11, 2025
74b433e
C++: Add range analysis tests
paldepind Nov 11, 2025
5da73f3
C++: Make sure that nrOfBoundsNEPhi is functional
paldepind Nov 11, 2025
1dd78e2
C++: Add change note
paldepind Nov 11, 2025
da12d73
Merge branch 'main' into redsun82/update-rules_java
redsun82 Nov 14, 2025
792ac7a
C++: Fix typo
paldepind Nov 14, 2025
1c93710
Merge pull request #20826 from aschackmull/guards/disjunctive-implica…
aschackmull Nov 14, 2025
0f2e29c
Merge pull request #20816 from paldepind/cpp/range-analysis-perf-fix
jketema Nov 14, 2025
68a0358
Merge pull request #20811 from github/redsun82/update-rules_java
redsun82 Nov 14, 2025
fabcd04
Merge pull request #20838 from owen-mc/go/fix/dataset-check-errors-so…
owen-mc Nov 14, 2025
8455663
Rust: Speedup `AccessAfterLifetime.ql`
hvitved Nov 15, 2025
e986cca
Merge pull request #20843 from hvitved/rust/access-after-lifetime-spe…
hvitved Nov 17, 2025
c0ebc17
Merge pull request #20768 from michaelnebel/csharp/extractionlogging
michaelnebel Nov 17, 2025
089bfff
Rust: Make impl blocks only give rise to direct trait implementation
paldepind Oct 30, 2025
861c236
C++: Add table for expanded compilation arguments
jketema Nov 12, 2025
ee97d6f
C++: Expose the expanded compilation arguments
jketema Nov 12, 2025
a8d488f
C++: Add upgrade and downgrade scripts
jketema Nov 12, 2025
61b7eb3
C++: Update dbscheme stats file
jketema Nov 13, 2025
15393ae
C++: Add change note
jketema Nov 13, 2025
1df47cc
C++: Fix QL-for-QL warning
jketema Nov 13, 2025
a07f015
Rust: Accept changes to expected files
paldepind Nov 3, 2025
9971936
Rust: Improvements to docs from review comments
paldepind Nov 3, 2025
4eb22a7
Rust: Fix grammar
paldepind Nov 17, 2025
b0dc48e
Merge pull request #20723 from paldepind/rust/ti-inheritance
hvitved Nov 17, 2025
1671805
Merge pull request #20831 from jketema/expanded
jketema Nov 17, 2025
12f1bd8
C#: add missing `*` to change note
redsun82 Nov 17, 2025
07c80b4
Merge pull request #20850 from github/redsun82/fix-change-notes
redsun82 Nov 17, 2025
18fa679
Release preparation for version 2.23.6
invalid-email-address Nov 17, 2025
1c81c4d
C#: make some tweaks to change logs
redsun82 Nov 18, 2025
4c1f2b8
C#: change capitalization
redsun82 Nov 18, 2025
117168d
Merge pull request #20852 from github/release-prep/2.23.6
redsun82 Nov 18, 2025
1ebc16e
Merge pull request #20855 from github/changedocs-2.23.5
jonjanego Nov 17, 2025
b31d649
Merge pull request #20858 from github/redsun82/2.23.6
redsun82 Nov 18, 2025
29903aa
Merge tag 'codeql-cli/latest' into auto/sync-main-pr
Nov 24, 2025
e4d7d2c
Merge branch 'main' of https://github.com/microsoft/codeql into auto/…
Dec 2, 2025
91234b7
Merge branch 'main' of https://github.com/microsoft/codeql into auto/…
Dec 2, 2025
df5467d
Merge branch 'main' of https://github.com/microsoft/codeql into auto/…
Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
112 changes: 102 additions & 10 deletions .github/workflows/build-ripunzip.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,58 @@
name: Build runzip
name: Build ripunzip

on:
workflow_dispatch:
inputs:
ripunzip-version:
description: "what reference to checktout from google/runzip"
description: What reference to checkout from google/ripunzip. Latest by default
required: false
default: v2.0.2
openssl-version:
description: "what reference to checkout from openssl/openssl for Linux"
description: What reference to checkout from openssl/openssl for Linux. Latest by default
required: false
default: openssl-3.5.0
open-pr:
description: Open a pull request updating the ripunzip versions committed to lfs
required: false
default: true # will be false on PRs
pull_request:
paths:
- .github/workflows/build-ripunzip.yml

permissions: {}

jobs:
versions:
runs-on: ubuntu-slim
outputs:
ripunzip-version: ${{ inputs.ripunzip-version || steps.fetch-ripunzip-version.outputs.version }}
openssl-version: ${{ inputs.openssl-version || steps.fetch-openssl-version.outputs.version }}
steps:
- name: Fetch latest ripunzip version
id: fetch-ripunzip-version
if: "!inputs.ripunzip-version"
run: &fetch-version
echo "version=$(gh release view --repo $REPO --json tagName --jq .tagName)" | tee -a $GITHUB_OUTPUT
env:
REPO: "google/ripunzip"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Fetch latest openssl version
id: fetch-openssl-version
if: "!inputs.openssl-version"
run: *fetch-version
env:
REPO: "openssl/openssl"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
needs: versions
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-13, windows-2022]
os: [ubuntu-24.04, macos-15, windows-2025]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
with:
repository: google/ripunzip
ref: ${{ inputs.ripunzip-version }}
ref: ${{ needs.versions.outputs.ripunzip-version }}
# we need to avoid ripunzip dynamically linking into libssl
# see https://github.com/sfackler/rust-openssl/issues/183
- if: runner.os == 'Linux'
Expand All @@ -32,7 +61,7 @@ jobs:
with:
repository: openssl/openssl
path: openssl
ref: ${{ inputs.openssl-version }}
ref: ${{ needs.versions.outputs.openssl-version }}
- if: runner.os == 'Linux'
name: build and install openssl with fPIC
shell: bash
Expand Down Expand Up @@ -64,11 +93,74 @@ jobs:
lipo -create -output ripunzip-macos \
-arch x86_64 target/x86_64-apple-darwin/release/ripunzip \
-arch arm64 target/aarch64-apple-darwin/release/ripunzip
- uses: actions/upload-artifact@v4
- name: Archive
shell: bash
run: |
tar acf ripunzip-$RUNNER_OS.tar.zst ripunzip-$(echo $RUNNER_OS | tr '[:upper:]' '[:lower:]')
- name: Upload built binary
uses: actions/upload-artifact@v4
with:
name: ripunzip-${{ runner.os }}
path: ripunzip-*
path: ripunzip-${{ runner.os }}.tar.zst
retention-days: 5
compression: 0
- name: Check built binary
shell: bash
run: |
rm -f ripunzip-*.tar.zst
./ripunzip-* --version
publish:
needs: [versions, build]
if: inputs.open-pr == 'true'
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-slim
steps:
# workaround for git-lfs not being installed yet on ubuntu-slim runners
- name: Ensure git-lfs is installed
shell: bash
run: |
if which git-lfs &>/dev/null; then
echo "git-lfs is already installed"
exit 0
fi
cd $TMP
gh release download --repo git-lfs/git-lfs --pattern "git-lfs-linux-amd64-*.tar.gz" --clobber
tar xzf git-lfs-linux-amd64-*.tar.gz
rm git-lfs-linux-amd64-*.tar.gz
cd git-lfs-*
pwd | tee -a $GITHUB_PATH
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v5
with:
sparse-checkout: |
.github
misc/ripunzip
lfs: true
- name: Download built binaries
uses: actions/download-artifact@v4
with:
merge-multiple: true
path: misc/ripunzip
- name: Open PR
shell: bash
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git switch -c update-ripunzip
git add misc/ripunzip
git commit -m "Update ripunzip binaries to version $VERSION"
git push --set-upstream origin update-ripunzip --force
TITLE="Update ripunzip binaries to version $VERSION"
gh pr create \
--draft \
--title "$TITLE" \
--body "Automated update of ripunzip binaries." \
--assignee "$ACTOR" ||
(gh pr edit --title "$TITLE" --add-assignee "$ACTOR" && gh pr ready --undo)
env:
ACTOR: ${{ github.actor }}
VERSION: ${{ needs.versions.outputs.ripunzip-version }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 13 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,29 @@
/actions/ @github/codeql-dynamic
/cpp/ @github/codeql-c-analysis
/csharp/ @github/codeql-csharp
/csharp/autobuilder/Semmle.Autobuild.Cpp @github/codeql-c-extractor
/csharp/autobuilder/Semmle.Autobuild.Cpp.Tests @github/codeql-c-extractor
/csharp/autobuilder/Semmle.Autobuild.Cpp @github/codeql-c-extractor @github/code-scanning-language-coverage
/csharp/autobuilder/Semmle.Autobuild.Cpp.Tests @github/codeql-c-extractor @github/code-scanning-language-coverage
/go/ @github/codeql-go
/go/codeql-tools/ @github/codeql-go @github/code-scanning-language-coverage
/go/downgrades/ @github/codeql-go @github/code-scanning-language-coverage
/go/extractor/ @github/codeql-go @github/code-scanning-language-coverage
/go/extractor-smoke-test/ @github/codeql-go @github/code-scanning-language-coverage
/go/ql/test/extractor-tests/ @github/codeql-go @github/code-scanning-language-coverage
/java/ @github/codeql-java
/javascript/ @github/codeql-javascript
/javascript/extractor/ @github/codeql-javascript @github/code-scanning-language-coverage
/python/ @github/codeql-python
/python/extractor/ @github/codeql-python @github/code-scanning-language-coverage
/ql/ @github/codeql-ql-for-ql-reviewers
/ruby/ @github/codeql-ruby
/ruby/extractor/ @github/codeql-ruby @github/code-scanning-language-coverage
/rust/ @github/codeql-rust
/rust/extractor/ @github/codeql-rust @github/code-scanning-language-coverage
/shared/ @github/codeql-shared-libraries-reviewers
/swift/ @github/codeql-swift
/swift/extractor/ @github/codeql-swift @github/code-scanning-language-coverage
/misc/codegen/ @github/codeql-swift
/java/kotlin-extractor/ @github/codeql-kotlin
/java/kotlin-extractor/ @github/codeql-kotlin @github/code-scanning-language-coverage
/java/ql/test-kotlin1/ @github/codeql-kotlin
/java/ql/test-kotlin2/ @github/codeql-kotlin

Expand Down
6 changes: 3 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -273,19 +273,19 @@ lfs_archive = use_repo_rule("//misc/bazel:lfs.bzl", "lfs_archive")

lfs_archive(
name = "ripunzip-linux",
src = "//misc/ripunzip:ripunzip-Linux.zip",
src = "//misc/ripunzip:ripunzip-Linux.tar.zst",
build_file = "//misc/ripunzip:BUILD.ripunzip.bazel",
)

lfs_archive(
name = "ripunzip-windows",
src = "//misc/ripunzip:ripunzip-Windows.zip",
src = "//misc/ripunzip:ripunzip-Windows.tar.zst",
build_file = "//misc/ripunzip:BUILD.ripunzip.bazel",
)

lfs_archive(
name = "ripunzip-macos",
src = "//misc/ripunzip:ripunzip-macOS.zip",
src = "//misc/ripunzip:ripunzip-macOS.tar.zst",
build_file = "//misc/ripunzip:BUILD.ripunzip.bazel",
)

Expand Down
4 changes: 4 additions & 0 deletions actions/ql/lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.21

No user-facing changes.

## 0.4.20

No user-facing changes.
Expand Down
3 changes: 3 additions & 0 deletions actions/ql/lib/change-notes/released/0.4.21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.4.21

No user-facing changes.
2 changes: 1 addition & 1 deletion actions/ql/lib/codeql-pack.release.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
lastReleaseVersion: 0.4.20
lastReleaseVersion: 0.4.21
2 changes: 1 addition & 1 deletion actions/ql/lib/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: codeql/actions-all
version: 0.4.20
version: 0.4.21
library: true
warnOnImplicitThis: true
dependencies:
Expand Down
4 changes: 4 additions & 0 deletions actions/ql/src/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.13

No user-facing changes.

## 0.6.12

No user-facing changes.
Expand Down
3 changes: 3 additions & 0 deletions actions/ql/src/change-notes/released/0.6.13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.6.13

No user-facing changes.
2 changes: 1 addition & 1 deletion actions/ql/src/codeql-pack.release.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
lastReleaseVersion: 0.6.12
lastReleaseVersion: 0.6.13
2 changes: 1 addition & 1 deletion actions/ql/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: codeql/actions-queries
version: 0.6.12
version: 0.6.13
library: false
warnOnImplicitThis: true
groups: [actions, queries]
Expand Down
Loading
Loading