Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: CodeQL

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '23 6 * * 1'

permissions:
contents: read
security-events: write

jobs:
analyze-python:
name: Analyze Python
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: python

- name: Analyze
uses: github/codeql-action/analyze@v4
with:
category: /language:python

analyze-swift:
name: Analyze Swift
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: swift
build-mode: manual

- name: Build Swift target
run: >-
xcodebuild
-project CodexBuddyMac/CodexBuddyMac.xcodeproj
-scheme CodexBuddyMac
-configuration Debug
-sdk macosx
ARCHS="$(uname -m)"
CODE_SIGNING_ALLOWED=NO
build

- name: Analyze
uses: github/codeql-action/analyze@v4
with:
category: /language:swift
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to CodexBuddyMac are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Unreleased

### Added

- **Continuous GitHub security scanning.** CodeQL now analyzes the Python
bridge and Swift app on pull requests, pushes to `main`, and a weekly
schedule. Dependabot alerts and security updates are enabled.

## [1.1.2] — 2026-07-14

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ Open Settings from the menu to:
require a private loopback token written to a `0600` file, and login refresh is
rate-limited, so a stray local process or browser cannot trigger a token
refresh. Usage responses are cached locally and are not uploaded by CodexBuddyMac.
- GitHub Secret Scanning with push protection, Dependabot alerts and security
updates, and CodeQL run continuously to catch exposed credentials,
vulnerable dependencies, and code-security issues.
- Do not commit local logs, build products, user data, credentials, or signing
profiles. The included `.gitignore` excludes these files (including the runtime
token, lock, PID, and retry-state files).
Expand Down
Loading