Skip to content

Introduce Github CodeQL#196

Merged
skonefal merged 2 commits into
mainfrom
szymon/advanced-codeql
May 22, 2026
Merged

Introduce Github CodeQL#196
skonefal merged 2 commits into
mainfrom
szymon/advanced-codeql

Conversation

@skonefal

Copy link
Copy Markdown
Contributor

No description provided.

skonefal and others added 2 commits May 22, 2026 14:12
@cursor

cursor Bot commented May 22, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Low risk because it only adds a GitHub Actions workflow; the main impact is CI runtime/permissions and potential new code-scanning alerts.

Overview
Adds a new .github/workflows/codeql.yml workflow to run CodeQL Advanced scanning on pushes to main and on a weekly schedule.

The job analyzes actions and python via a matrix, uses pinned actions/checkout and github/codeql-action versions, and includes the standard (disabled unless needed) manual-build step plus required security-events write permissions.

Reviewed by Cursor Bugbot for commit 581d6cd. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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: CodeQL skips pull requests
    • Added a pull_request trigger for main so CodeQL runs on PRs before merge.

Create PR

Or push these changes by commenting:

@cursor push 6208a095a6
Preview (6208a095a6)
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: '17 6 * * 0'

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 581d6cd. Configure here.

Comment thread .github/workflows/codeql.yml

@bh2smith bh2smith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems legit!

@skonefal skonefal merged commit cf0e577 into main May 22, 2026
4 checks passed
@skonefal skonefal deleted the szymon/advanced-codeql branch May 22, 2026 12:35
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.

2 participants