Migrate to oxfmt (#618)

* Migrate to oxfmt

* Enable import sorting

* trailingComma always
This commit is contained in:
Bjorn Lu
2026-05-15 11:48:55 +00:00
committed by GitHub
parent 03ba888eb8
commit 6c80731937
18 changed files with 324 additions and 110 deletions
+4 -4
View File
@@ -9,7 +9,7 @@ export const setupOctokit = (githubToken: string) => {
throttle: {
onRateLimit: (retryAfter, options: any, octokit, retryCount) => {
core.warning(
`Request quota exhausted for request ${options.method} ${options.url}`
`Request quota exhausted for request ${options.method} ${options.url}`,
);
if (retryCount <= 2) {
@@ -21,10 +21,10 @@ export const setupOctokit = (githubToken: string) => {
retryAfter,
options: any,
octokit,
retryCount
retryCount,
) => {
core.warning(
`SecondaryRateLimit detected for request ${options.method} ${options.url}`
`SecondaryRateLimit detected for request ${options.method} ${options.url}`,
);
if (retryCount <= 2) {
@@ -34,7 +34,7 @@ export const setupOctokit = (githubToken: string) => {
},
},
},
throttling
throttling,
);
};