Skip to content

Introduce Github CodeQL#98

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

Introduce Github CodeQL#98
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
Copy link
Copy Markdown

cursor Bot commented May 22, 2026

PR Summary

Low Risk
Low risk: adds a new GitHub Actions workflow for CodeQL analysis only, affecting CI runtime/permissions but not application code or runtime behavior.

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

The job analyzes actions and javascript-typescript with build-mode: none, checks out the repo, initializes CodeQL, and uploads results using the required security-events permission.

Reviewed by Cursor Bugbot for commit 239a9f1. Configure here.

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 defeats proactive security scanning
    • Added the missing CodeQL pull_request trigger for main so PRs are scanned before merge.

Create PR

Or push these changes by commenting:

@cursor push 3dbb80f0cf
Preview (3dbb80f0cf)
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: '23 5 * * 1'

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 239a9f1. Configure here.

Comment thread .github/workflows/codeql.yml
Copy link
Copy Markdown
Member

@bh2smith bh2smith left a comment

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 f6e4cf7 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