-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathaction.yml
29 lines (29 loc) · 929 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
28
29
name: 'Nancy for GitHub Actions'
author: 'Sonatype'
description: 'Run Sonatype Nancy as part of your GitHub Actions workflow.'
inputs:
nancyVersion:
description: 'The version of Nancy to run. Examples: "latest", "v1.0.15" See: https://github.com/sonatype-nexus-community/nancy/releases for available versions.'
required: true
default: 'latest'
goListFile:
description: 'The path to a file containing the output of a "go list ..." command.'
required: false
default: go.list
nancyCommand:
description: 'Optional nancy command. Defaults to "sleuth"'
required: false
default: 'sleuth'
githubToken:
description: 'Optional GitHub token. If not provided, no GitHub token will be used.'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.goListFile }}
- ${{ inputs.nancyCommand }}
branding:
icon: 'shield'
color: 'gray-dark'