Skip to content
Merged
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
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
node-version: 22
cache: npm # or pnpm / yarn
- name: Setup Ruby
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby-3.3.0
Expand All @@ -56,6 +56,9 @@ jobs:
env:
RAILS_ENV: test
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
ANTHROPIC_API_KEY: ANTHROPIC_API_KEY
Copy link

Copilot AI Nov 11, 2025

Choose a reason for hiding this comment

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

The API key is set to the literal string "ANTHROPIC_API_KEY" instead of referencing a GitHub secret. It should be ${{ secrets.ANTHROPIC_API_KEY }} to properly inject the secret value, similar to how RAILS_MASTER_KEY is configured on line 58.

Suggested change
ANTHROPIC_API_KEY: ANTHROPIC_API_KEY
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

Copilot uses AI. Check for mistakes.
OPEN_AI_API_KEY: OPEN_AI_API_KEY
Copy link

Copilot AI Nov 11, 2025

Choose a reason for hiding this comment

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

The API key is set to the literal string "OPEN_AI_API_KEY" instead of referencing a GitHub secret. It should be ${{ secrets.OPEN_AI_API_KEY }} to properly inject the secret value, similar to how RAILS_MASTER_KEY is configured on line 58.

Suggested change
OPEN_AI_API_KEY: OPEN_AI_API_KEY
OPEN_AI_API_KEY: ${{ secrets.OPEN_AI_API_KEY }}

Copilot uses AI. Check for mistakes.
OPEN_ROUTER_API_KEY: OPEN_ROUTER_API_KEY
Copy link

Copilot AI Nov 11, 2025

Choose a reason for hiding this comment

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

The API key is set to the literal string "OPEN_ROUTER_API_KEY" instead of referencing a GitHub secret. It should be ${{ secrets.OPEN_ROUTER_API_KEY }} to properly inject the secret value, similar to how RAILS_MASTER_KEY is configured on line 58.

Suggested change
OPEN_ROUTER_API_KEY: OPEN_ROUTER_API_KEY
OPEN_ROUTER_API_KEY: ${{ secrets.OPEN_ROUTER_API_KEY }}

Copilot uses AI. Check for mistakes.
run: bin/test
- name: Build with VitePress
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
Expand Down