anthropics / anthropics/claude-code-action

`contents: write` permission required?

Đang mở
#755 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:permissions documentation installation p3 question
Ngôn ngữ chính
TypeScript
Star
8.9k
Fork
2.1k
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
10

Mô tả

I wanted to limit the permissions for the Claude app, so I am following the documentation (https://github.com/anthropics/claude-code-action/blob/main/docs/setup.md#using-a-custom-github-app) to create a Custom App and define permissions myself.

I've come across various Issues where that was the [recommended solution](https://github.com/anthropics/claude-code-action/issues/474#issuecomment-3210213252). The documentation, however, [notes that]:(https://github.com/anthropics/claude-code-action/blob/main/docs/setup.md#using-a-custom-github-app:~:text=...%20other%20configuration-,Important%20notes%3A,-The%20custom%20app)
_"The custom app must have read/write permissions for Issues, Pull Requests, and Contents"_

Can I not limit the `contents` permission to just `read` access in my Custom App?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.