Skip to content

Conversation

@rvermeulen
Copy link
Contributor

The query pack has suites that rely on the codeql/suite-helpers pack, but doesn't include it as a dependency. This will cause error when resolving suites referring the Actions query pack.

The query pack has suites that rely on the `codeql/suite-helpers` pack, but doesn't include it as a dependency.
This will cause error when resolving suites referring the Actions query pack.
Copilot AI review requested due to automatic review settings March 11, 2025 01:31
@rvermeulen rvermeulen requested a review from a team as a code owner March 11, 2025 01:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR adds a missing dependency to the query pack to ensure that suites relying on the codeql/suite-helpers pack resolve correctly.

  • Added dependency for codeql/suite-helpers in qlpack.yml.

Reviewed Changes

File Description
actions/ql/src/qlpack.yml Added missing dependency for suite helpers

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@github-actions github-actions bot added the Actions Analysis of GitHub Actions label Mar 11, 2025
Copy link
Collaborator

@adityasharad adityasharad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this in 2.20.7 as well?

@rvermeulen
Copy link
Contributor Author

rvermeulen commented Mar 11, 2025

It currently means the actions/queries pack is broken.

> gh codeql resolve queries codeql/actions-queries
Recording pack reference codeql/actions-queries at /Users/rvermeulen/.codeql/packages/codeql/actions-queries/0.5.1.
A fatal error occurred: Compiled CodeQL packs cannot reference another pack from one of its query suites. 'codeql/actions-queries@0.5.1' references 'codeql/suite-helpers'.

@rvermeulen rvermeulen merged commit da720b8 into main Mar 11, 2025
8 checks passed
@rvermeulen rvermeulen deleted the rvermeulen/add-missing-dependency branch March 11, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Actions Analysis of GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants