diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04eaf6a..a246b56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: - ".python-version" - "pyproject.toml" - ".pre-commit-config.yaml" - - ".github/workflows/ci.yml" + - ".github/workflows/**" jobs: lint: diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml deleted file mode 100644 index 742afa8..0000000 --- a/.github/workflows/claude.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Claude Code - -on: - issue_comment: - types: [created] - pull_request_review_comment: - types: [created] - issues: - types: [opened, assigned] - pull_request_review: - types: [submitted] - -jobs: - claude: - 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'))) - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: read - issues: read - id-token: write - actions: read # Required for Claude to read CI results on PRs - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - fetch-depth: 1 - - - name: Run Claude Code - id: claude - uses: anthropics/claude-code-action@v1 - with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - # This is an optional setting that allows Claude to read CI results on PRs - additional_permissions: | - actions: read - # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it. - # prompt: 'Update the pull request description to include a summary of changes.' - # claude_args: '--allowed-tools Bash(gh pr:*)' diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a5b8046..2f48487 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,7 +11,7 @@ on: - "pyproject.toml" - "Dockerfile" - "docker-compose.yml" - - ".github/workflows/docker.yml" + - ".github/workflows/**" tags: - "v*" diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml deleted file mode 100644 index ce76f8e..0000000 --- a/.github/workflows/issue-triage.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Claude Issue Triage -description: Run Claude Code for issue triage in GitHub Actions -on: - issues: - types: [opened] - -jobs: - triage-issue: - runs-on: ubuntu-latest - timeout-minutes: 10 - permissions: - contents: read - issues: write - - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Run Claude Code for Issue Triage - uses: anthropics/claude-code-action@v1 - with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - prompt: "/label-issue REPO: ${{ github.repository }} ISSUE_NUMBER${{ github.event.issue.number }}" - allowed_non_write_users: "*" - github_token: ${{ secrets.GITHUB_TOKEN }}