Skip to content

Introduce Github CodeQL#9693

Open
skonefal wants to merge 3 commits into
mainfrom
szymon/advanced-codeql
Open

Introduce Github CodeQL#9693
skonefal wants to merge 3 commits into
mainfrom
szymon/advanced-codeql

Conversation

@skonefal
Copy link
Copy Markdown

No description provided.

skonefal and others added 2 commits May 22, 2026 14:04
Removed pull request trigger for CodeQL analysis.
Co-authored-by: Cursor <cursoragent@cursor.com>
@skonefal skonefal requested a review from a team as a code owner May 22, 2026 12:23
@cursor
Copy link
Copy Markdown

cursor Bot commented May 22, 2026

PR Summary

Low Risk
Low risk: adds a GitHub Actions CodeQL workflow only; no application/runtime code changes. Main impact is CI time and potential new code scanning alerts or workflow failures if CodeQL setup needs tuning.

Overview
Adds a new GitHub Actions workflow (.github/workflows/codeql.yml) to run CodeQL Advanced scanning on pushes to main and on a weekly cron.

The job analyzes actions and python via a matrix, runs github/codeql-action init/analyze with pinned action SHAs, and includes a stub manual build step that fails if build-mode is switched to manual.

Reviewed by Cursor Bugbot for commit 1730437. Configure here.

@github-actions github-actions Bot marked this pull request as draft May 22, 2026 12:24
@github-actions github-actions Bot added the WIP work in progress label May 22, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 22, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@skonefal skonefal marked this pull request as ready for review May 22, 2026 12:25
@github-actions github-actions Bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels May 22, 2026
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Missing pull request trigger
    • Added a pull_request trigger targeting main so CodeQL runs on PRs before merge.

Create PR

Or push these changes by commenting:

@cursor push 107a218cdf
Preview (107a218cdf)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -14,6 +14,8 @@
 on:
   push:
     branches: [ "main" ]
+  pull_request:
+    branches: [ "main" ]
   schedule:
     - cron: '29 7 * * 2'

You can send follow-ups to the cloud agent here.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 1730437. Configure here.

Comment thread .github/workflows/codeql.yml
@skonefal
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review this PR development is complete, please review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants