Skip to content

Only use mirrorToken in getManifest if it's provided#1548

Open
deiga wants to merge 1 commit into
actions:mainfrom
F-Secure-web:fix/only-use-mirror-token-for-manifest-if-set
Open

Only use mirrorToken in getManifest if it's provided#1548
deiga wants to merge 1 commit into
actions:mainfrom
F-Secure-web:fix/only-use-mirror-token-for-manifest-if-set

Conversation

@deiga
Copy link
Copy Markdown

@deiga deiga commented May 11, 2026

Description:
When providing a mirror, but not a mirrorToken then getManifest will use the empty mirrorToken instead of any possible github token. This can lead to API Rate Limit exhaustion inadvertently.

The proposed fix is to only supply mirrorToken if it is actually set.

Related issue:
I couldn't find any directly related issues

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@deiga deiga requested a review from a team as a code owner May 11, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants