-
Notifications
You must be signed in to change notification settings - Fork 193
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (30 loc) · 1.04 KB
/
action.yml
File metadata and controls
32 lines (30 loc) · 1.04 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
# WARNING: This file is generated, do not edit! Edit _templates/action.yml.erb instead.
name: "Snyk Python (3.7)"
description: "Check your Python application for vulnerabilities using Snyk"
author: "Snyk Ltd"
branding:
icon: "alert-triangle"
color: "yellow"
inputs:
command:
description: "Which Snyk command to run, defaults to test"
default: test
args:
description: "Additional arguments to pass to Snyk"
json:
description: "Output a snyk.json file with results if running the test command"
default: false
runs:
using: "composite"
steps:
- name: Show deprecation warning
shell: bash
run: echo "::warning title=Deprecated Action::The action python-3.7 is deprecated. Please visit Snyk actions at https://github.com/snyk/actions for a newer version."
- name: Run Snyk scan
uses: docker://snyk/snyk:python-3.7
env:
FORCE_COLOR: 2
SNYK_INTEGRATION_NAME: GITHUB_ACTIONS
SNYK_INTEGRATION_VERSION: python-3.7
with:
args: snyk ${{ inputs.command }} ${{ inputs.args }}