Skip to content

.github/workflows/claude.yml #240

.github/workflows/claude.yml

.github/workflows/claude.yml #240

Workflow file for this run

name: ⚙️ Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]
workflow_dispatch:
jobs:
claude:

Check failure on line 15 in .github/workflows/claude.yml

View workflow run for this annotation

GitHub Actions / ⚙️ Claude Code

Invalid workflow file

The workflow is not valid. .github/workflows/claude.yml (Line: 15, Col: 3): Error calling workflow 'SocketDev/socket-registry/.github/workflows/claude.yml@main'. The workflow is requesting 'issues: write, pull-requests: write, id-token: write', but is only allowed 'issues: none, pull-requests: none, id-token: none'.
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
uses: SocketDev/socket-registry/.github/workflows/claude.yml@main
secrets:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}