ci: add CodeQL workflow with Swift analysis#412
Merged
Conversation
The default CodeQL setup only runs on Linux runners, which can't build this project's Swift package (requires Xcode/iOS SDK). This adds a dedicated workflow using macos-15 runners with path filtering so it only runs when Swift code changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Allows manual triggering from the Actions tab for testing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove trailing newline to trigger the path-filtered workflow on this PR. This can be reverted after verifying the workflow passes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The default CodeQL setup and custom workflows can't coexist, so this replaces the default setup with a single workflow covering all languages. Swift runs on macos-15 with Xcode 16.3 (for Swift 6.2); JS, Kotlin, and Actions run on ubuntu-latest with autobuild. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use Xcode 26.0.1 (Swift 6.2) instead of Xcode 16.3 (Swift 6.1) - Disabled default CodeQL setup via API since custom and default workflows cannot coexist - Reverted back to Swift-only + all-languages workflow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Contributor
Author
|
I'm going to admin-merge this to try to solve a GitHub warning about CodeQL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/codeql.yml) that scans all languages including Swiftmacos-15with Xcode 26.0.1 (Swift 6.2); JS, Kotlin, and Actions continue running onubuntu-latestTest plan
actions(51s),javascript-typescript(1m10s),java-kotlin(7m10s),swift(15m46s)🤖 Generated with Claude Code