diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml deleted file mode 100644 index 916a6da8..00000000 --- a/.github/workflows/claude.yml +++ /dev/null @@ -1,49 +0,0 @@ -# ───────────────────────────────────────────────────────────────────────────── -# SOURCE OF TRUTH: petry-projects/.github/standards/workflows/claude.yml -# Standard: petry-projects/.github/standards/ci-standards.md#4-claude-code-claudeyml -# Reusable: petry-projects/.github/.github/workflows/claude-code-reusable.yml -# -# AGENTS — READ BEFORE EDITING: -# • This file is a THIN CALLER STUB. All Claude Code logic, the prompt, -# allowedTools, and trigger gating live in the reusable workflow above. -# • You MAY change: nothing in this file in normal use. Adopt verbatim. -# • You MUST NOT change: trigger events, job permissions, the `uses:` line, -# or `secrets: inherit`. These are required for the reusable to work. -# • If you need different behaviour, open a PR against the reusable in the -# central repo. The change will propagate everywhere on next run. -# ───────────────────────────────────────────────────────────────────────────── -# -# Claude Code — thin caller that delegates to the org-level reusable workflow. -# To adopt: copy this file to .github/workflows/claude.yml in your repo. -# Required org/repo secret: CLAUDE_CODE_OAUTH_TOKEN -# Optional org/repo secret: GH_PAT_WORKFLOWS (PAT with `workflow` scope — -# required if Claude needs to push changes to .github/workflows/*.yml) - -name: Claude Code - -on: - pull_request: - branches: [main] - types: [opened, reopened, synchronize] - issue_comment: - types: [created] - pull_request_review_comment: - types: [created] - issues: - types: [labeled] - check_run: - types: [completed] - -permissions: {} - -jobs: - claude-code: - uses: petry-projects/.github/.github/workflows/claude-code-reusable.yml@v1 - secrets: inherit - permissions: - contents: write - id-token: write - pull-requests: write - issues: write - actions: read - checks: read