Skip to content

Upgrade to CodeQL v2.24.2 and fix release-codeql.yml workflow#318

Merged
data-douser merged 6 commits intomainfrom
dd/upgrade-to-v2.24.2
Mar 10, 2026
Merged

Upgrade to CodeQL v2.24.2 and fix release-codeql.yml workflow#318
data-douser merged 6 commits intomainfrom
dd/upgrade-to-v2.24.2

Conversation

@data-douser
Copy link
Copy Markdown
Collaborator

@data-douser data-douser commented Mar 4, 2026

Summary of Changes

This pull request updates the SAP JavaScript framework CodeQL packs and their dependencies to use the latest compatible versions, and improves the release workflow to better handle prerelease versions. The main changes are version bumps for all qlpack.yml and codeql-pack.lock.yml files, switching workspace dependencies to use ${workspace} for local development, and a workflow enhancement for publishing prerelease packs.

Outline of Changes

Dependency and version updates:

  • Bumped the version of all SAP JavaScript framework CodeQL packs (including cap, ui5, and xsjs variants) from 2.3.0 to 2.24.2, and updated their dependency on codeql/javascript-all from ^2.4.0 to ^2.6.22. Workspace dependencies are now referenced using ${workspace} instead of specific versions, improving local development and testing. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

  • Updated all codeql-pack.lock.yml files to reference the latest compatible versions of dependencies, including codeql/concepts, codeql/controlflow, codeql/dataflow, codeql/mad, codeql/regex, codeql/ssa, codeql/threat-models, codeql/tutorial, codeql/typetracking, codeql/util, codeql/xml, and codeql/yaml. [1] [2]

Workflow improvements:

  • Enhanced the CodeQL pack publishing workflow (.github/workflows/release-codeql.yml) to detect prerelease versions (those containing a hyphen) and automatically add the --allow-prerelease flag when publishing, ensuring prerelease versions are handled correctly.

data-douser and others added 3 commits March 4, 2026 01:15
Updates the required minimum version of "codeql/javascript-all"
pack dependency to improve consistency across qlpack definitions
while better reflecting the actual version of the dependency that
actually gets installed for the current CodeQL CLI version.
@data-douser data-douser self-assigned this Mar 4, 2026
@data-douser
Copy link
Copy Markdown
Collaborator Author

Extends #317

data-douser and others added 2 commits March 9, 2026 17:02
Move the inline pack publishing and bundling logic from the
release-codeql workflow into dedicated scripts:

- scripts/publish-packs.sh: Publishes all CodeQL packs to GHCR with
  pre-release detection, token validation, and dry-run support.
- scripts/bundle-packs.sh: Bundles all CodeQL packs into .tar.gz
  archives with configurable output directory and dry-run support.
@data-douser data-douser added bug Something isn't working enhancement New feature or request dependencies Pull requests that update a dependency file labels Mar 9, 2026
@data-douser data-douser changed the title Upgrade to CodeQL v2.24.2 while requiring the corresponding version of the codeql/javascript-all pack dependency Upgrade to CodeQL v2.24.2 and fix release-codeql.yml workflow Mar 9, 2026
@data-douser data-douser marked this pull request as ready for review March 9, 2026 23:49
@data-douser data-douser merged commit d045bf6 into main Mar 10, 2026
19 checks passed
@data-douser data-douser deleted the dd/upgrade-to-v2.24.2 branch March 10, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants