anthropics / anthropics/claude-code-action

`contents: write` permission required?

オープン
#755 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:permissions documentation installation p3 question
主要言語
TypeScript
スター
8.9k
フォーク
2.1k
平均マージ
3日 9時間
マージ済み PR(30日)
10

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。