Skip to content

Commit 134d536

Browse files
committed
Delete unused Claude Code Review workflow and update license information.
1 parent 92bc102 commit 134d536

2 files changed

Lines changed: 8 additions & 61 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/claude.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2011-2026 Yegor Bugayenko
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
15
name: Claude Code
2-
3-
on:
6+
'on':
47
issue_comment:
58
types: [created]
69
pull_request_review_comment:
@@ -9,7 +12,6 @@ on:
912
types: [opened, assigned]
1013
pull_request_review:
1114
types: [submitted]
12-
1315
jobs:
1416
claude:
1517
if: |
@@ -18,33 +20,22 @@ jobs:
1820
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
1921
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
2022
runs-on: ubuntu-latest
23+
timeout-minutes: 15
2124
permissions:
2225
contents: read
2326
pull-requests: read
2427
issues: read
2528
id-token: write
26-
actions: read # Required for Claude to read CI results on PRs
29+
actions: read
2730
steps:
2831
- name: Checkout repository
2932
uses: actions/checkout@v4
3033
with:
3134
fetch-depth: 1
32-
3335
- name: Run Claude Code
3436
id: claude
3537
uses: anthropics/claude-code-action@v1
3638
with:
3739
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38-
39-
# This is an optional setting that allows Claude to read CI results on PRs
4040
additional_permissions: |
41-
actions: read
42-
43-
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
44-
# prompt: 'Update the pull request description to include a summary of changes.'
45-
46-
# Optional: Add claude_args to customize behavior and configuration
47-
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
48-
# or https://code.claude.com/docs/en/cli-reference for available options
49-
# claude_args: '--allowed-tools Bash(gh pr *)'
50-
41+
actions: read

0 commit comments

Comments
 (0)