-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
63 lines (48 loc) · 1.41 KB
/
action.yml
File metadata and controls
63 lines (48 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Socket Security (Action)
description: GitHub Action to run Socket in CLI or Firewall mode
author: Socket Inc.
branding:
icon: shield
color: purple
inputs:
mode:
description: Operation mode firewall, patch, or cli
required: true
github-token:
description: GitHub API Token used for downloading binaries
required: true
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
socket-token:
description: The Socket API Token
use-cache:
description: Cache the Socket binaries
default: 'true'
job-summary:
description: Create a job summary
default: all
firewall-version:
description: Specify the firewall version number
default: latest
patch-version:
description: Specify the socket-patch version number
default: latest
patch-ecosystems:
description: Comma-separated list of ecosystems to patch (npm, pypi, cargo)
default: ''
patch-dry-run:
description: Verify patches without modifying files
default: 'false'
patch-cwd:
description: Working directory for socket-patch apply
default: ''
outputs:
firewall-path-report:
description: Path to the generated firewall report JSON
firewall-path-binary:
description: Path to the installed binary
patch-path-binary:
description: Path to the installed socket-patch binary
runs:
using: node24
main: 'dist/main.js'
post: 'dist/post.js'