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
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
- uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v4.37.4
uses: github/codeql-action/init@v4.37.6
with:
languages: javascript-typescript
# Broader ruleset than the default: security plus maintainability.
queries: security-and-quality

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4.37.4
uses: github/codeql-action/analyze@v4.37.6
with:
category: "/language:javascript-typescript"
4 changes: 4 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const securityHeaders = [

const nextConfig: NextConfig = {
serverExternalPackages: ["pg", "@prisma/adapter-pg"],
// Next 16.3 makes `next dev` append its own block to AGENTS.md on every run.
// The block ships a non-ASCII character, which the pre-push ASCII gate
// rejects, so the tree would go dirty on each dev start. We own that file.
agentRules: false,
async headers() {
return [{ source: "/:path*", headers: securityHeaders }];
},
Expand Down
Loading