Skip to content

Commit 7171429

Browse files
committed
Update agent
1 parent 9ff9d14 commit 7171429

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dist/pre/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pre/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/checksum.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function verifyChecksum(downloadPath: string, is_tls: boolean) {
1414

1515
if (is_tls) {
1616
expectedChecksum =
17-
"e0cd0f0da1ac48df713acd8c4f0e591274de0f2c251b8526cf956c654f024ec2"; // checksum for tls_agent
17+
"846ae66c6cfab958fe61736cec0b58bdb7651b36af04c279405c7114675d7033"; // checksum for tls_agent
1818
}
1919

2020
if (checksum !== expectedChecksum) {

src/setup.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ interface MonitorResponse {
231231

232232
if (await isTLSEnabled(context.repo.owner)) {
233233
downloadPath = await tc.downloadTool(
234-
"https://packages.stepsecurity.io/github-hosted/harden-runner_1.1.3_linux_amd64.tar.gz"
234+
"https://packages.stepsecurity.io/github-hosted/harden-runner_1.2.0_linux_amd64.tar.gz"
235235
);
236236
verifyChecksum(downloadPath, true); // NOTE: verifying tls_agent's checksum, before extracting
237237
} else {

0 commit comments

Comments
 (0)