Skip to content

add agents#129

Merged
pegahcarter merged 2 commits intomasterfrom
add-agents
Feb 16, 2026
Merged

add agents#129
pegahcarter merged 2 commits intomasterfrom
add-agents

Conversation

@pegahcarter
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 3, 2026 23:05
Copy link

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 configuration to introduce a Claude-based PR review/mention responder workflow, plus agent ignore/settings files to avoid reading .env secrets.

Changes:

  • Added a GitHub Actions workflow to auto-review PRs and respond to @claude mentions.
  • Added .copilotignore and .codexignore entries to exclude .env files.
  • Added .claude/settings.json to configure Claude permissions and deny reading .env files.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/claude.yml Introduces Claude Code automation for PR reviews and @claude mention responses.
.copilotignore Prevents Copilot tooling from ingesting .env files.
.codexignore Prevents Codex tooling from ingesting .env files.
.claude/settings.json Configures Claude permissions and explicitly denies reading .env files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +4 to +9
# Auto-review PRs to master
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
branches:
- master

Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

The workflow only runs for PRs targeting master (and comments say “to master”), but this repository appears to use main as the primary branch (e.g., PR diff base shows main). If the default branch is main, this workflow will never trigger. Consider switching the branch filter to main, or include both main and master if you need to support both.

Copilot uses AI. Check for mistakes.
Comment on lines +32 to +35
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
track_progress: true
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

anthropic_api_key is sourced from secrets.ANTHROPIC_API_KEY while this job runs on the pull_request event. For PRs opened from forks, GitHub does not provide repository secrets to pull_request workflows, so this step will fail and the check may go red. If forked PRs are expected, add a guard to skip when github.event.pull_request.head.repo.fork is true (or when the secret is unavailable), or switch to a safer pull_request_target-based design with strict permissions.

Copilot uses AI. Check for mistakes.
@pegahcarter pegahcarter merged commit 1a2315b into master Feb 16, 2026
@pegahcarter pegahcarter deleted the add-agents branch February 16, 2026 18:23
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.

2 participants