Compare commits

..

6 Commits

Author SHA1 Message Date
Noah Zweben MacBook
cf314c23ba Add write permissions for issues and pull-requests 2026-01-06 15:24:05 -08:00
Noah Zweben MacBook
9215e68d2a Add toggle to disable external PR check 2026-01-06 14:12:08 -08:00
Noah Zweben MacBook
fd311cd8ba Update PR comment wording 2026-01-06 14:10:09 -08:00
Noah Zweben MacBook
d847dfead5 Add workflow to auto-close external PRs 2026-01-06 14:08:09 -08:00
Anthony Morris
bf48ae6c75 fix(ralph-wiggum): add :* to allowed-tools pattern to permit arguments (#138)
The allowed-tools pattern was missing :* suffix, causing permission check
failures when arguments were passed to the setup script via ```! block.

Fixes anthropics/claude-code#16398
2026-01-06 13:46:06 -08:00
Noah Zweben
883f2ba69e Add Pinecone vector database plugin to marketplace (#133)
Add new community plugin for Pinecone vector database integration,
enabling developers to manage vector indexes, query data, and build
RAG applications with Claude Code.

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-06 11:36:19 -08:00
2 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,47 @@
name: Close External PRs
on:
pull_request_target:
types: [opened]
permissions:
pull-requests: write
issues: write
jobs:
check-membership:
if: vars.DISABLE_EXTERNAL_PR_CHECK != 'true'
runs-on: ubuntu-latest
steps:
- name: Check if author is org member
uses: actions/github-script@v7
with:
script: |
const org = 'anthropics';
const author = context.payload.pull_request.user.login;
try {
await github.rest.orgs.checkMembershipForUser({
org: org,
username: author
});
console.log(`${author} is an org member, allowing PR`);
} catch (e) {
if (e.status === 404) {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: `Thanks for your interest! This repo only accepts contributions from Anthropic team members. If you'd like to submit a plugin to the marketplace, please submit your plugin [here](https://docs.google.com/forms/d/e/1FAIpQLSdeFthxvjOXUjxg1i3KrOOkEPDJtn71XC-KjmQlxNP63xYydg/viewform).`
});
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
state: 'closed'
});
console.log(`Closed PR from external contributor: ${author}`);
}
}

View File

@@ -1,7 +1,7 @@
---
description: "Start Ralph Wiggum loop in current session"
argument-hint: "PROMPT [--max-iterations N] [--completion-promise TEXT]"
allowed-tools: ["Bash(${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh)"]
allowed-tools: ["Bash(${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh:*)"]
hide-from-slash-command-tool: "true"
---