anthropics / anthropics/claude-code-action

`contents: write` permission required?

Abierto
#755 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:permissions documentation installation p3 question
Lenguaje dominante
TypeScript
Estrellas
8.9k
Forks
2.1k
Merge medio
3 d 9 h
PR fusionados (30 d)
10

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.