mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-08 06:17:07 +00:00
added input
This commit is contained in:
parent
28812b45b1
commit
3c53f22e70
2 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ inputs:
|
|||
description: 'Policy for outbound traffic, can be either audit or block'
|
||||
required: false
|
||||
default: 'block'
|
||||
token:
|
||||
description: 'Used to avoid github rate limiting'
|
||||
default: ${{ github.token }}
|
||||
branding:
|
||||
icon: 'check-square'
|
||||
color: 'green'
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ import {verifyChecksum} from "./checksum"
|
|||
cp.execSync("sudo mkdir -p /home/agent");
|
||||
cp.execSync("sudo chown -R $USER /home/agent");
|
||||
|
||||
// Note: to avoid github rate limiting
|
||||
const downloadPath: string = await tc.downloadTool(
|
||||
"https://github.com/step-security/agent/releases/download/v0.8.6/agent_0.8.6_linux_amd64.tar.gz", undefined, auth
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue