Skip to content

Introduce Github CodeQL#5

Open
skonefal wants to merge 2 commits into
masterfrom
szymon/advanced-codeql
Open

Introduce Github CodeQL#5
skonefal wants to merge 2 commits into
masterfrom
szymon/advanced-codeql

Conversation

@skonefal
Copy link
Copy Markdown

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 scanning without changing application/runtime code; primary impact is CI time and potential new alerts/failures from security scanning.

Overview
Adds a new .github/workflows/codeql.yml GitHub Actions workflow to run CodeQL Advanced scanning for go on pushes to master and on a weekly cron schedule.

The workflow checks out the repo, initializes CodeQL with autobuild, and uploads analysis results via github/codeql-action/analyze with the required security-events permissions.

Reviewed by Cursor Bugbot for commit b3d43cf. 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
    • Added a CodeQL pull_request trigger for the master branch so PRs are scanned before merge.

Create PR

Or push these changes by commenting:

@cursor push ab531b0acc
Preview (ab531b0acc)
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: [ "master" ]
+  pull_request:
+    branches: [ "master" ]
   schedule:
     - cron: '26 19 * * 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 b3d43cf. Configure here.

Comment thread .github/workflows/codeql.yml
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