Skip to content

Conversation

@leonard84
Copy link
Member

@leonard84 leonard84 commented Jan 5, 2026

Fixes these issues.

> Task :preprocessCodeqlAnalysisWorkflow
.github/workflows/codeql-analysis.main.kts:31:58: error: unresolved reference 'CodeqlActionAnalyze'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze
                                                         ^
.github/workflows/codeql-analysis.main.kts:32:58: error: unresolved reference 'CodeqlActionInit'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit
                                                         ^
.github/workflows/codeql-analysis.main.kts:90:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:92:22: error: unresolved reference 'CodeqlActionInit'.
            action = CodeqlActionInit(
                     ^
.github/workflows/codeql-analysis.main.kts:132:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:134:22: error: unresolved reference 'CodeqlActionAnalyze'.
            action = CodeqlActionAnalyze()
                     ^
.github/workflows/codeql-analysis.main.kts:31:58: error: unresolved reference 'CodeqlActionAnalyze'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze
                                                         ^
.github/workflows/codeql-analysis.main.kts:32:58: error: unresolved reference 'CodeqlActionInit'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit
                                                         ^
.github/workflows/codeql-analysis.main.kts:90:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:92:22: error: unresolved reference 'CodeqlActionInit'.
            action = CodeqlActionInit(
                     ^
.github/workflows/codeql-analysis.main.kts:132:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:134:22: error: unresolved reference 'CodeqlActionAnalyze'.
            action = CodeqlActionAnalyze()
                     ^
.github/workflows/codeql-analysis.main.kts:31:58: error: unresolved reference 'CodeqlActionAnalyze'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze
                                                         ^
.github/workflows/codeql-analysis.main.kts:32:58: error: unresolved reference 'CodeqlActionInit'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit
                                                         ^
.github/workflows/codeql-analysis.main.kts:90:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:92:22: error: unresolved reference 'CodeqlActionInit'.
            action = CodeqlActionInit(
                     ^
.github/workflows/codeql-analysis.main.kts:132:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:134:22: error: unresolved reference 'CodeqlActionAnalyze'.
            action = CodeqlActionAnalyze()
                     ^
.github/workflows/codeql-analysis.main.kts:31:58: error: unresolved reference 'CodeqlActionAnalyze'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze
                                                         ^
.github/workflows/codeql-analysis.main.kts:32:58: error: unresolved reference 'CodeqlActionInit'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit
                                                         ^
.github/workflows/codeql-analysis.main.kts:90:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:92:22: error: unresolved reference 'CodeqlActionInit'.
            action = CodeqlActionInit(
                     ^
.github/workflows/codeql-analysis.main.kts:132:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:134:22: error: unresolved reference 'CodeqlActionAnalyze'.
            action = CodeqlActionAnalyze()
                     ^
.github/workflows/codeql-analysis.main.kts:31:58: error: unresolved reference 'CodeqlActionAnalyze'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze
                                                         ^
.github/workflows/codeql-analysis.main.kts:32:58: error: unresolved reference 'CodeqlActionInit'.
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit
                                                         ^
.github/workflows/codeql-analysis.main.kts:90:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:92:22: error: unresolved reference 'CodeqlActionInit'.
            action = CodeqlActionInit(
                     ^
.github/workflows/codeql-analysis.main.kts:132:9: error: cannot infer type for type parameter 'T'. Specify it explicitly.
        uses(
        ^
.github/workflows/codeql-analysis.main.kts:134:22: error: unresolved reference 'CodeqlActionAnalyze'.
            action = CodeqlActionAnalyze()
                     ^

Summary by CodeRabbit

  • Chores
    • Updated CodeQL workflow dependencies to use stable versions and simplified workflow configuration.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 5, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Updated the CodeQL GitHub Actions workflow file to pin CodeQL action versions to v4 instead of pre-release ranges and replaced explicit trigger imports with a wildcard import for cleaner code organization.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/codeql-analysis.main.kts
Pinned CodeQL analyze and init actions to v4 (stable version). Replaced explicit trigger imports (Cron, MergeGroup, PullRequest, Push, Schedule) with wildcard import for simplified import statements.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A wild import springs forth with glee,
No more explicit triggers, wild and free!
Version four stands firm and strong,
Workflows flow where they belong! 🚀

✨ Finishing touches
  • 📝 Generate docstrings

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 77d0adb and 7dde302.

📒 Files selected for processing (1)
  • .github/workflows/codeql-analysis.main.kts

Comment @coderabbitai help to get the list of available commands and usage tips.

@leonard84 leonard84 merged commit 1edf452 into spockframework:master Jan 5, 2026
8 of 11 checks passed
@leonard84 leonard84 deleted the fix-codeql-action branch January 5, 2026 14:21
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.

1 participant