We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504d240 commit a42481fCopy full SHA for a42481f
public/scripts/workflow.js
@@ -65,9 +65,11 @@ async function detectDefaultBranch(repoInfo, timeoutMs = 3000) {
65
function fetchWithTimeout(url, timeoutMs) {
66
const controller = new AbortController();
67
const timeout = setTimeout(() => controller.abort(), timeoutMs);
68
- return fetch(url, { method: "HEAD", signal: controller.signal }).finally(
69
- () => clearTimeout(timeout),
70
- );
+ return fetch(url, {
+ method: "HEAD",
+ signal: controller.signal,
71
+ redirect: "manual",
72
+ }).finally(() => clearTimeout(timeout));
73
}
74
75
const checks = branches.map((branch) => {
0 commit comments