-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from JCHacking/autocreate_project_tags
feat: include tags when creating
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,10 @@ Defaults to `https` | |
|
||
**Required, unless project is provided** Project version in Dependency-Track | ||
|
||
### `projectTags` | ||
|
||
Project tags in Dependency-Track | ||
|
||
### `autoCreate` | ||
|
||
Automatically create project and version in Dependency-Track, default `false` | ||
|
@@ -68,6 +72,19 @@ with: | |
autoCreate: true | ||
``` | ||
|
||
With project name, version and tags: | ||
``` | ||
uses: DependencyTrack/[email protected] | ||
with: | ||
serverHostname: 'example.com' | ||
apiKey: ${{ secrets.DEPENDENCYTRACK_APIKEY }} | ||
projectName: 'Example Project' | ||
projectVersion: 'master' | ||
projectTags: 'tag1,tag2' | ||
bomFilename: "/path/to/bom.xml" | ||
autoCreate: true | ||
``` | ||
|
||
With protocol, port and project name: | ||
``` | ||
- name: SBOM zu DependencyTrack senden | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters