-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
action.yml
43 lines (40 loc) · 1.31 KB
/
action.yml
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
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'VirusTotal GitHub Action'
description: "GitHub Action to upload and scan files with VirusTotal"
author: 'crazy-max'
branding:
color: 'red'
icon: 'activity'
inputs:
vt_api_key:
description: 'The GitHub token used to create an authenticated client for GitHub API'
required: true
files:
description: 'Newline-delimited list of path globs for asset files to upload for analysis'
required: true
vt_monitor:
description: 'If enabled, files will be uploaded to VirusTotal Monitor endpoint'
default: 'false'
required: false
monitor_path:
description: 'A path relative to current monitor user root folder to upload files'
default: '/'
required: false
update_release_body:
description: 'If enabled, analysis link(s) will be appended to the release body'
default: 'false'
required: true
github_token:
description: 'The GitHub token used to create an authenticated client for GitHub API'
default: ${{ github.token }}
required: false
request_rate:
description: 'API request-rate in requests/minute'
default: '0'
required: true
outputs:
analysis:
description: 'Analysis results formatted as asset=analysisURL (comma separated)'
runs:
using: 'node20'
main: 'dist/index.js'