From b112320ba5c456eca2321e1b71e06b5eabc5d8fd Mon Sep 17 00:00:00 2001 From: packet-mover Date: Sun, 5 Apr 2026 14:40:48 +0200 Subject: [PATCH] chore: fix PR title check permissions and remove claude workflow - Add pull-requests: read permission to pr-title workflow to fix "Resource not accessible by integration" error - Remove unused claude.yml workflow Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/claude.yml | 30 ------------------------------ .github/workflows/pr-title.yml | 3 +++ 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/claude.yml diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml deleted file mode 100644 index 78d2c1b..0000000 --- a/.github/workflows/claude.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Claude Code -permissions: - contents: write - pull-requests: write - issues: write - id-token: write - -on: - issue_comment: - types: [created] - pull_request_review_comment: - types: [created] - issues: - types: [opened, assigned] - -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 == 'issues' && contains(github.event.issue.body, '@claude')) - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: anthropics/claude-code-action@v1 - with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index a9b3b80..c347e13 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -3,6 +3,9 @@ on: pull_request: types: [opened, edited, synchronize] +permissions: + pull-requests: read + jobs: check: runs-on: ubuntu-latest