Skip to content

Commit 844035e

Browse files
Merge pull request #4 from step-security/location
Update pointers
2 parents 6a5f7c1 + 560f5be commit 844035e

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pre/index.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pre/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
return;
55
}
66

7-
var env = "beta";
7+
var web_url = "https://app.stepsecurity.io";
88

99
console.log(
10-
`View security insights and recommended policy at https://${env}.stepsecurity.io/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]} after the run has finished`
10+
`View security insights and recommended policy at ${web_url}/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]} after the run has finished`
1111
);
1212
})();

src/setup.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ import { v4 as uuidv4 } from "uuid";
1414
}
1515

1616
var correlation_id = uuidv4();
17-
var env = "beta";
17+
var env = "agent";
1818
var api_url = `https://${env}.api.stepsecurity.io/v1`;
19+
var web_url = "https://app.stepsecurity.io";
1920

2021
const confg = {
2122
repo: process.env["GITHUB_REPOSITORY"],
@@ -43,7 +44,7 @@ import { v4 as uuidv4 } from "uuid";
4344

4445
console.log(`Step Security Job Correlation ID: ${correlation_id}`);
4546
console.log(
46-
`View security insights and recommended policy at https://${env}.stepsecurity.io/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]} after the run has finished`
47+
`View security insights and recommended policy at ${web_url}/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]} after the run has finished`
4748
);
4849
cp.execSync(`cp ${__dirname}/agent /home/agent/agent`);
4950
cp.execSync("chmod +x /home/agent/agent");

0 commit comments

Comments
 (0)