-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
27 lines (27 loc) · 803 Bytes
/
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
name: "Trend Anti-Malware Scan Service Action"
description: "Scan files looking for malware using Trend Anti-Malware Scan Service"
inputs:
CLOUD_ONE_API_KEY:
description: "Cloud One API Key"
required: true
REGION:
description: "Cloud One Region"
required: true
default: "us-1"
FILES:
description: "List of files to scan, space separated. If not provided, all files in the repository will be scanned."
required: true
default: ""
branding:
icon: "package"
color: "red"
runs:
using: "docker"
image: "docker://ghcr.io/raphabot/amaas:latest"
args:
- --api_key
- ${{ inputs.CLOUD_ONE_API_KEY }}
- --region
- ${{ inputs.REGION }}
- -f
- $([ -z "$INPUT_FILES" ] && find . -type f -not -path "./.git/*" | tr '\n' ' ' || echo "$INPUT_FILES")