Updating the GitHub auth_token in the repo's Mirror Settings using the API
Feature Description
Hi,
I recently developed a tool called github-backup to synchronize GitHub repositories in batches to my own instance of Gitea. When it comes to synchronizing private repositories, I utilized an authentication token from GitHub in my calls to /api/v1/repos/migrate.
However, I encountered an issue where I couldn't find an API endpoint that allows updating this authentication token. Specifically, the token parameter was absent from the documentation for the [PATCH] /repositories/{owner}/{repo} endpoint.
Does this mean that when my token expires, I would have to delete all the repositories and recreate their mirrors?
I kindly suggest adding the ability to modify "Mirror Settings" in the [PATCH] /repositories/{owner}/{repo} endpoint, which would include the option to update the authentication token.
Thank you for your attention to this matter.
Thanks
Screenshots
No response