anthropics / anthropics/claude-code-action

`contents: write` permission required?

Offen
#755 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:permissions documentation installation p3 question
Vorherrschende Sprache
TypeScript
Sterne
8.9k
Forks
2.1k
Ø Merge
3 T. 9 Std.
Gemergte PRs (30 T.)
10

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.