Skip to content
Closed
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
24 changes: 24 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CodeQL

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 6 * * 1"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

permissions only grants security-events: write. CodeQL + checkout can fail in repos/orgs with restricted default GITHUB_TOKEN permissions. Add explicit contents: read (for checkout) and typically actions: read as recommended by CodeQL docs, either at workflow or job scope, while keeping security-events: write for SARIF upload.

Suggested change
permissions:
permissions:
actions: read
contents: read

Copilot uses AI. Check for mistakes.
security-events: write
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: actions
- uses: github/codeql-action/analyze@v3
with:
category: /language:actions
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# FerrFlow Benchmarks

[![CI](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/ci.yml/badge.svg)](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/ci.yml)
[![CodeQL](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/codeql.yml/badge.svg)](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/codeql.yml)
[![License](https://img.shields.io/github/license/FerrFlow-Org/Benchmarks)](LICENSE)

Reusable GitHub Action for running FerrFlow benchmarks and detecting performance regressions.

## Usage
Expand Down
Loading