mirror of
https://github.com/step-security/harden-runner
synced 2026-08-09 13:11:02 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ab3e5845f |
Vendored
+2
-2
@@ -27801,11 +27801,11 @@ function isArcRunner() {
|
||||
else {
|
||||
isARC = runnerUserAgent.includes("actions-runner-controller/");
|
||||
}
|
||||
return isARC || isSecondaryPod();
|
||||
return isARC;
|
||||
}
|
||||
function isSecondaryPod() {
|
||||
const workDir = "/__w";
|
||||
return external_fs_.existsSync(workDir);
|
||||
return fs.existsSync(workDir);
|
||||
}
|
||||
function sendAllowedEndpoints(endpoints) {
|
||||
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -87929,11 +87929,11 @@ function isArcRunner() {
|
||||
else {
|
||||
isARC = runnerUserAgent.includes("actions-runner-controller/");
|
||||
}
|
||||
return isARC || isSecondaryPod();
|
||||
return isARC;
|
||||
}
|
||||
function isSecondaryPod() {
|
||||
const workDir = "/__w";
|
||||
return external_fs_.existsSync(workDir);
|
||||
return fs.existsSync(workDir);
|
||||
}
|
||||
function sendAllowedEndpoints(endpoints) {
|
||||
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -13,7 +13,7 @@ export function isArcRunner(): boolean {
|
||||
isARC = runnerUserAgent.includes("actions-runner-controller/");
|
||||
}
|
||||
|
||||
return isARC || isSecondaryPod();
|
||||
return isARC;
|
||||
}
|
||||
|
||||
function isSecondaryPod(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user