ci: apply unsafe fixes with biome

This commit is contained in:
Wolfgang Walther
2025-08-20 15:01:39 +02:00
parent 1fa55d3900
commit 23b82b3228
3 changed files with 26 additions and 29 deletions

View File

@@ -23,7 +23,7 @@ module.exports = async ({ github, core }, callback) => {
// Requests to a different host do not count against the rate limit.
if (options.url.startsWith('https://github.com')) return request(options)
// Requests to the /rate_limit endpoint do not count against the rate limit.
if (options.url == '/rate_limit') return request(options)
if (options.url === '/rate_limit') return request(options)
// Search requests are in a different resource group, which allows 30 requests / minute.
// We do less than a handful each run, so not implementing throttling for now.
if (options.url.startsWith('/search/')) return request(options)