Skip to content

Commit 2ec9b19

Browse files
committed
Document the single-token setup after the stargazer restriction
1 parent 08243ce commit 2ec9b19

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,30 @@ latest report for each repository. If GitHub Pages is enabled from the
3131

3232
## Required Secrets
3333

34-
Add these repository secrets:
34+
Add this repository secret:
3535

36-
- `GH_STATS_READ_TOKEN`
3736
- `GH_STATS_WRITE_TOKEN`
3837

39-
`GH_STATS_READ_TOKEN` needs access to:
38+
The workflow passes it as both `ghtoken` and `write-token`, so one token
39+
covers reads and writes. It needs access to all four repositories:
4040

4141
- `NVIDIAGameWorks/rtx-remix`
4242
- `NVIDIAGameWorks/dxvk-remix`
4343
- `NVIDIAGameWorks/toolkit-remix`
44+
- `NVIDIAGameWorks/rtx-remix-stats` (snapshot and report storage)
4445

4546
Required fine-grained token permissions:
4647

4748
- `Administration: Read-only` for traffic stats
48-
- `Contents: Read-only` for release data
49+
- `Contents: Read and write` for release data, stargazer timestamps, and
50+
pushing to the data branch
4951
- `Metadata: Read-only`, which GitHub grants automatically
5052

51-
`GH_STATS_WRITE_TOKEN` needs access to:
52-
53-
- `NVIDIAGameWorks/rtx-remix-stats`
54-
55-
Required fine-grained token permissions:
56-
57-
- `Contents: Read and write` on `NVIDIAGameWorks/rtx-remix-stats`
58-
- `Metadata: Read-only`, which GitHub grants automatically
53+
`Contents` must be write rather than read because GitHub
54+
[restricted the stargazer listing](https://github.blog/changelog/2026-06-30-upcoming-access-restrictions-to-public-api-endpoints-and-ui-views/)
55+
to a repository's own admins and collaborators on 2026-06-30. If that listing
56+
is unavailable the run logs a warning and continues; the star count still
57+
comes from repository metadata, so only the per-user star timeline stalls.
5958

6059
## Viewing Reports
6160

0 commit comments

Comments
 (0)