Skip to content

Commit 08f4715

Browse files
benoit-ctybenoit-cty
authored andcommitted
GH token limit
1 parent 98db9b0 commit 08f4715

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/contributing/working_with_agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ limactl shell codecarbon bash -l < "scripts/agent-vm.personal.config.sh"
7474
If you want to use `gh` inside the VM to inspect issues, pull requests, or repository metadata without granting write access, use a fine-grained personal access token with read-only permissions.
7575

7676
1. In GitHub, click on your avatar, go to **Settings** > **Developer settings** > **Personal access tokens** > **Fine-grained tokens**.
77-
2. Create a token scoped only to the repositories you need, with a short expiration date.
77+
2. Create a token scoped only to the repositories you need. For CodeCarbon's projects we allow only tokens with an expiration date.
7878
3. Grant only the minimum repository permissions you need. For read-only `gh` usage on this repository, `Metadata: Read-only` is required, and `Pull requests: Read-only`, `Issues: Read-only`, and `Contents: Read-only` are usually enough.
7979
4. Add the token to your VM configuration script `scripts/agent-vm.personal.config.sh`, then re-run:
8080

0 commit comments

Comments
 (0)