wmhcarter2024/Go Dependency Submission
Calculates dependencies for a Go build-target and submits the list to the Dependency Submission API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub Personal Access Token (PAT). Defaults to PAT provided by Action runner | no | ${{ github.token }} |
| metadata | User provided map of max key/value pairs of metadata to include with the snapshot e.g. {"lastModified": "12-31-2022"} | no | — |
| go-mod-path | Repo path to the go.mod file used to detect dependencies for the Go build target. Defaults to go.mod in the root of the repository. | yes | go.mod |
| go-build-target | Build target to detect build dependencies. If unspecified, will use "all", with will detect all dependencies used in all build targets (including tests and tools). | yes | all |
| snapshot-sha | The SHA that the results will be linked to in the dependency snapshot | no | "" |
| snapshot-ref | The ref that the results will be linked to in the dependency snapshot | no | "" |
| detector-name | The name of the detector that generated the dependency snapshot | no | "" |
| detector-version | The version of the detector that generated the dependency snapshot | no | "" |
| detector-url | The URL to the detector that generated the dependency snapshot | no | "" |
Outputs
no outputs