Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit 9ae3c36

Browse files
committed
Update action.yml to include detector and metadata inputs
1 parent 91e43b0 commit 9ae3c36

File tree

5 files changed

+362
-10201
lines changed

5 files changed

+362
-10201
lines changed

action.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
1-
name: 'TypeScripy Library for Creating Dependency Snapshots'
2-
description: 'Detects dependencies in projects'
1+
name: 'Go Action for Creating Dependency Snapshots'
2+
description: 'Detects go dependencies in projects using go mod graph utility'
33
author: 'lorenanicole'
44
inputs:
55
token:
66
required: true
77
description: 'Personal access token for the GitHub API'
8+
detector-name:
9+
required: false
10+
description: 'Name of the detector running the go action e.g. Go Snapshot Detector'
11+
default: 'Go Snapshot Action'
12+
detector-url:
13+
required: false
14+
description: 'URL of the detector running the go action e.g. http://github.com/dsp-testing/go-snapshot-action'
15+
default: 'http://github.com/dsp-testing/go-snapshot-action'
16+
detector-version:
17+
required: false
18+
description: 'Version of the detector running the go action e.g. 0.0.1'
19+
default: '0.0.1'
20+
metadata:
21+
required: false
22+
description: 'User provided map of max key/value pairs of metadata to include with the snapshot e.g. {"lastModified": "12-31-2022"}'
823
runs:
924
using: 'node16'
1025
main: 'dist/index.js'

0 commit comments

Comments
 (0)