Skip to content

Add Swift CodeQL workflow and fix Dependabot config#17

Merged
kiyarose merged 1 commit intocopilot/feat-preserve-formatting-indep-wikisfrom
copilot/setup-codeql-for-swift
Apr 12, 2026
Merged

Add Swift CodeQL workflow and fix Dependabot config#17
kiyarose merged 1 commit intocopilot/feat-preserve-formatting-indep-wikisfrom
copilot/setup-codeql-for-swift

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 28, 2026

CodeQL for Swift was missing, and Dependabot config failed due to an empty package ecosystem.

  • Security scanning: Add macOS CodeQL workflow that builds both iOS and macOS targets with signing disabled, using a shared CodeQL config scoping analysis to ios/ and mos/.
  • Configuration: Add .github/codeql/codeql-config.yml for Swift paths; fix .github/dependabot.yml to monitor GitHub Actions weekly.

Example (CodeQL workflow build step excerpt):

xcodebuild build \
  -project Flean.xcodeproj \
  -target Flean \
  -configuration Debug \
  -sdk iphonesimulator \
  -skipPackagePluginValidation \
  CODE_SIGNING_ALLOWED=NO \
  CODE_SIGNING_REQUIRED=NO \
  CODE_SIGN_IDENTITY=""

@kiyarose kiyarose marked this pull request as ready for review March 28, 2026 18:08
Copilot AI review requested due to automatic review settings March 28, 2026 18:08
@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented Mar 28, 2026

DeepSource Code Review

We reviewed changes in cb63efc...35e2f73 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
PHP Apr 12, 2026 3:44a.m. Review ↗
Shell Apr 12, 2026 3:44a.m. Review ↗
JavaScript Apr 12, 2026 3:44a.m. Review ↗
Swift Apr 12, 2026 3:44a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Swift-focused security automation for the repo’s iOS (ios/) and macOS (mos/) Xcode projects, and fixes an invalid Dependabot configuration so automated updates run correctly.

Changes:

  • Introduces a GitHub Actions CodeQL workflow for Swift that builds both the iOS and macOS targets (with signing disabled) and uploads CodeQL results.
  • Adds a CodeQL config file scoping analysis to ios/ and mos/.
  • Fixes Dependabot config to monitor github-actions updates on a weekly cadence.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/codeql.yml New Swift CodeQL workflow that initializes CodeQL, builds iOS + macOS targets, and runs analysis.
.github/codeql/codeql-config.yml Scopes CodeQL analysis paths to ios and mos.
.github/dependabot.yml Replaces invalid/empty ecosystem with github-actions weekly updates.

@github-advanced-security
Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@kiyarose kiyarose disabled auto-merge March 29, 2026 02:13
@kiyarose kiyarose enabled auto-merge March 29, 2026 02:13
@kiyarose kiyarose disabled auto-merge March 29, 2026 02:13
@kiyarose kiyarose enabled auto-merge March 29, 2026 02:14
@kiyarose
Copy link
Copy Markdown
Member

Screenshot 2026-03-28 at 10 14 06 PM No clue what this means

@kiyarose
Copy link
Copy Markdown
Member

I guess we will have to wait and see when automerge eventually gets to it.

@kiyarose kiyarose disabled auto-merge April 12, 2026 03:42
@kiyarose
Copy link
Copy Markdown
Member

For some reason this will not merge

@kiyarose kiyarose changed the base branch from main to copilot/feat-preserve-formatting-indep-wikis April 12, 2026 03:43
@kiyarose kiyarose force-pushed the copilot/setup-codeql-for-swift branch from 135b60f to 35e2f73 Compare April 12, 2026 03:43
@kiyarose kiyarose merged commit f78d5a4 into copilot/feat-preserve-formatting-indep-wikis Apr 12, 2026
5 checks passed
@kiyarose kiyarose deleted the copilot/setup-codeql-for-swift branch April 12, 2026 03:48
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.

4 participants