Skip to content

chore(QTDI-3907): fix CodeQL packages access - #1350

Merged
undx merged 7 commits into
masterfrom
ouf/QTDI-3907-github-actions-fix
Nov 30, 2026
Merged

undx merged 7 commits into
masterfrom
ouf/QTDI-3907-github-actions-fix

Conversation

@undx

@undx undx commented Nov 25, 2026

Copy link
Copy Markdown
Member

Requirements

  • Any code change adding any logic MUST be tested through a unit test executed with the default build
  • Any API addition MUST be done with a documentation update if relevant

Why this PR is needed?

What does this PR adds (design/code thoughts)?

AI generated code

https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code

  • [] this PR has been written with the help of GitHub Copilot or another generative AI tool

Copilot AI lite review requested due to automatic review settings November 25, 2026 12:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

A maintainer must verify the repository’s GitHub Packages credentials and read scope, Maven authentication, and a successful CodeQL run against the actual Actions configuration.

No open issues 🎉

What changed in this PR

Updates the CodeQL workflow to build Java/Kotlin code with Maven dependencies hosted on GitHub Packages.

Changes:

  • Configures Java 17 and manual CodeQL analysis.
  • Adds Maven GitHub Packages authentication for the build.
  • Runs the Maven build before CodeQL analysis.
File Description
.github/​workflows/​codeql.yml Defines the CodeQL workflow, Java setup, Maven build, GitHub Packages authentication, and analysis steps.

Review effort: Lite

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Copilot AI lite review requested due to automatic review settings November 25, 2026 14:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Approval should be deferred because the privileged workflow, Maven credential, CodeQL, and dependency-submission integrations require validation in a real GitHub Actions run with repository secrets and package credentials.

No open issues 🎉

Review effort: Lite

@undx
undx requested a review from ypiel-talend November 25, 2026 15:08
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 25, 2026 15:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The changes depend on live GitHub Actions validation of secret-backed Maven authentication, package permissions, external actions, and CodeQL/dependency-submission execution.

No open issues 🎉

Review effort: Lite

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@undx undx changed the title chore(QTDI=3907): fix CodeQL packages access chore(QTDI-3907): fix CodeQL packages access Nov 25, 2026
undx and others added 2 commits November 25, 2026 18:22
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… in CodeQL build

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 25, 2026 17:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Human assessment is needed because a moderate hidden finding indicates the CodeQL workflow does not scan the default branch after merges or direct pushes, leaving its security baseline stale.

No open issues 🎉

Review effort: Lite

@sonar-rnd

sonar-rnd Bot commented Nov 25, 2026

Copy link
Copy Markdown

@ypiel-talend ypiel-talend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

On question about kotlin section

Comment thread .github/workflows/codeql.yml Resolved
@ypiel-talend
ypiel-talend self-requested a review November 26, 2026 14:01

@ypiel-talend ypiel-talend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@undx
undx merged commit ef9324f into master Nov 30, 2026
7 checks passed
@undx
undx deleted the ouf/QTDI-3907-github-actions-fix branch November 30, 2026 08:50
undx added a commit that referenced this pull request Dec 2, 2026
undx added a commit that referenced this pull request Dec 2, 2026
undx added a commit that referenced this pull request Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants