Skip to content

Commit

Permalink
Merge pull request #476 from step-security/rc-16
Browse files Browse the repository at this point in the history
Release v2.10.2
  • Loading branch information
varunsh-coder authored Nov 18, 2024
2 parents 91182cc + 4a3a88b commit 0080882
Show file tree
Hide file tree
Showing 11 changed files with 149 additions and 97 deletions.
48 changes: 46 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

89 changes: 61 additions & 28 deletions dist/post/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

34 changes: 15 additions & 19 deletions dist/pre/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/pre/index.js.map

Large diffs are not rendered by default.

13 changes: 1 addition & 12 deletions src/arc-runner.test.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";


it("should correctly recognize arc based runner", async () => {
process.env["GITHUB_ACTIONS_RUNNER_EXTRA_USER_AGENT"] =
"actions-runner-controller/2.0.1";

let isArc: boolean = await isArcRunner();
let isArc: boolean = await isArcRunner();
expect(isArc).toBe(true);

});


it("should write endpoint files", ()=>{
process.env["isTest"] = "1"

let allowed_endpoints = ["github.com:443", "*.google.com:443", "youtube.com"].join(" ");
sendAllowedEndpoints(allowed_endpoints);

})
Loading

0 comments on commit 0080882

Please sign in to comment.