Skip to content

Commit d12a142

Browse files
docs(github): clarify stargazer listing access
1 parent 6bfb873 commit d12a142

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

  • app/en/references/auth-providers/github

‎app/en/references/auth-providers/github/page.mdx‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,9 +878,15 @@ This section lists the GitHub App permissions required by tools in the Arcade Gi
878878

879879
**Basic (Read-only):**
880880

881-
- `count_stargazers`, `get_repository`, `list_repository_activities`, `list_stargazers`, `get_file_contents`
881+
- `count_stargazers`, `get_repository`, `list_repository_activities`, `get_file_contents`
882882
- Required: Contents (Read), Metadata (Read)
883883

884+
**Restricted stargazer listing:**
885+
886+
- `list_stargazers`
887+
- The app needs read access to repository metadata, and the authenticated user must be an administrator or collaborator on the repository
888+
- Use `count_stargazers` when you only need the public aggregate count
889+
884890
**Write Operations:**
885891

886892
- `create_branch`, `create_or_update_file`, `update_file_lines`
@@ -976,6 +982,18 @@ GitHub doesn't reveal which repositories exist when you lack access (security by
976982
3. Ensure the user has authorized the app
977983
4. Confirm the repository path is correct
978984

985+
### Stargazer listings require repository access
986+
987+
GitHub limits its list stargazers endpoint to repository administrators and
988+
collaborators. `list_stargazers` can return `404 Not Found` or `403 Forbidden`
989+
for a public repository even when the app has Metadata (Read) permission and
990+
can otherwise read that repository.
991+
992+
Use `count_stargazers` when you only need the public number of stars. It reads
993+
the repository's aggregate `stargazers_count` instead of enumerating users.
994+
995+
[Learn about GitHub's stargazer access restrictions](https://github.blog/changelog/2026-06-30-upcoming-access-restrictions-to-public-api-endpoints-and-ui-views/)
996+
979997
### Installing on Additional Repositories
980998

981999
After initial installation, you can add more repositories:
@@ -1017,6 +1035,7 @@ After initial installation, you can add more repositories:
10171035
| **"Installation not found"** | Wrong Installation ID | Check Installation ID in URL |
10181036
| **"403 Forbidden"** | Missing permissions, not installed, or rate limited | Review permissions, check installation |
10191037
| **"404 Not Found" on existing repo** | Permissions not approved by admin | Check app settings → verify permissions approved |
1038+
| **Can't list stargazers on a public repo** | User isn't a repository administrator or collaborator | Use `count_stargazers` for the public count |
10201039
| **Can't star repositories** | Missing "Act on behalf of user" permission | Enable in User permissions settings |
10211040

10221041
### Debugging Steps

0 commit comments

Comments
 (0)