Skip to content

Comments

Fix release.yml workflow for publishing CodeQL packs and npm package for codeql-development-mcp-server#40

Merged
data-douser merged 3 commits intodd/update-release-v2-24-1from
dd/open-source-release-prep/3
Feb 10, 2026
Merged

Fix release.yml workflow for publishing CodeQL packs and npm package for codeql-development-mcp-server#40
data-douser merged 3 commits intodd/update-release-v2-24-1from
dd/open-source-release-prep/3

Conversation

@data-douser
Copy link
Collaborator

Summary of Changes

This pull request updates the release workflow in .github/workflows/release.yml to streamline tag handling, dependency installation, and packaging steps. The most significant improvements are automatic tag creation during manual releases, installation of CodeQL pack dependencies, and simplification of dependency management in the release package. These changes fix the release.yml workflow such that CodeQL query (src) packs are actually published, including:

  • advanced-security/ql-mcp-actions-tools-src
  • advanced-security/ql-mcp-cpp-tools-src
  • advanced-security/ql-mcp-csharp-tools-src
  • advanced-security/ql-mcp-go-tools-src
  • advanced-security/ql-mcp-java-tools-src
  • advanced-security/ql-mcp-javascript-tools-src
  • advanced-security/ql-mcp-python-tools-src
  • advanced-security/ql-mcp-ruby-tools-src
  • advanced-security/ql-mcp-swift-tools-src

Which can be downloaded via codeql pack download -- advanced-security/ql-mcp-<language>-tools-src command for any <language> supported by advanced-security/codeql-development-mcp-server.

Outline of Changes

Release workflow improvements:

  • Changed the tag checkout step to automatically create and push a tag if it does not exist during workflow_dispatch, reducing manual intervention and potential errors. [1] [2]

Dependency management enhancements:

  • Added a step to install CodeQL pack dependencies by running server/scripts/install-packs.sh, ensuring required packs are available before publishing.
  • Switched from npm ci to npm install for production dependencies in dist-package/server, which may improve reliability in certain scenarios.

Packaging adjustments:

  • Removed copying of the root package-lock.json into dist-package/server, simplifying the package preparation and potentially avoiding lockfile conflicts.

Copilot AI and others added 3 commits February 10, 2026 03:12
@data-douser data-douser self-assigned this Feb 10, 2026
@data-douser data-douser requested review from a team and enyil as code owners February 10, 2026 04:11
@data-douser data-douser added bug Something isn't working dependencies Pull requests that update a dependency file labels Feb 10, 2026
@data-douser data-douser merged commit 314261e into dd/update-release-v2-24-1 Feb 10, 2026
1 check passed
@data-douser data-douser deleted the dd/open-source-release-prep/3 branch February 10, 2026 04:11
data-douser added a commit that referenced this pull request Feb 10, 2026
* Fix release workflow: use setup-codeql-environment action instead of codeql-action/init

Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>

* Add "fetch-tags" to release.yml workflow checkout

* Upgrade codeql and repo version to 2.24.1

* Upgrade NodeJS dependencies to latest

* Enhance MCP prompts with LSP tool guidance

This commit:

- updates 'server/src/prompts/*.prompt.md` files to provide better
  guidance to LLMs in relation to iterative and/or LSP-based tools;
- improves unit tests of MCP ^ "workflow prompts";
- adds an example workshop, focused on using LSP-based MCP server
  tools, under the existing create-codeql-query-development-workshop
  agent skill;
- updates .github/ instructions and prompts with lessons learned
  from tool validation via example workshop development.

* improve release.yml workflow_dispatch compatibility

* Improve prettier fix markdownlint required workflow

* Fix tests flagged in PR review comments

* Fix `release.yml` workflow for publishing CodeQL packs and npm package for `codeql-development-mcp-server` (#40)

* Initial plan

* Enable auto-creation of tags in release workflow for workflow_dispatch

Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>

* More fixes for release workflow

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

* Add `advanced-security/ql-mcp-*-tools-src` query pack archives as uploaded release artifacts (#41)

* Initial plan

* Enable auto-creation of tags in release workflow for workflow_dispatch

Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>

* More fixes for release workflow

* Add CodeQL query packs as uploaded release artifacts

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

* Add version update script & fix packs for release (#42)

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants