mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-06 12:07:51 -05:00
[PR #279] feat(github): Config to allow/disallow mirroring collaborator repos #2129
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/279
Author: @nikhilbadyal
Created: 5/2/2026
Status: 🔄 Open
Base:
main← Head:main📝 Commits (1)
f93a08afeat(github): Config to allow/disallow mirroring collaborator repos📊 Changes
4 files changed (+324 additions, -2 deletions)
View changed files
📝
src/components/config/GitHubMirrorSettings.tsx(+22 -1)➕
src/lib/github-collaborator-repos.test.ts(+295 -0)📝
src/lib/github.ts(+6 -1)📝
src/types/config.ts(+1 -0)📄 Description
Summary
Filtered GitHub imports to only include owned repositories by default, preventing noise from collaborator repos.
Key Changes
affiliation: 'owner'to GitHub repo fetching./configUI.github-collaborator-repos.test.ts.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.