Skip to content

Conversation

@sellisd
Copy link
Contributor

@sellisd sellisd commented Aug 26, 2025

Send dependencies information to dependency track

@sellisd sellisd requested review from Copilot and csm-thu August 26, 2025 12:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a GitHub Actions workflow to integrate with Dependency Track by automatically generating and uploading Software Bill of Materials (SBOM) files. The workflow is triggered on pushes to main and release branches, as well as manual dispatch.

  • Introduces automated SBOM generation using CycloneDX format
  • Configures upload to Dependency Track service for security monitoring
  • Sets up Node.js environment with Yarn for dependency management

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

with:
serverhostname: ${{ secrets.DEPENDENCY_TRACK_SERVER_HOSTNAME }}
apikey: ${{ secrets.DEPENDENCY_TRACK_API_KEY }}
project: 'c22c33e7-cf08-477f-a337-2afddac184d0'
Copy link

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hardcoded project UUID should be moved to a secret or environment variable to improve maintainability and security. Consider using ${{ secrets.DEPENDENCY_TRACK_PROJECT_ID }} instead.

Suggested change
project: 'c22c33e7-cf08-477f-a337-2afddac184d0'
project: ${{ secrets.DEPENDENCY_TRACK_PROJECT_ID }}

Copilot uses AI. Check for mistakes.
@sellisd sellisd requested a review from Leopold-Cramer August 26, 2025 12:51
Copy link
Member

@csm-thu csm-thu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@sellisd sellisd force-pushed the DSE/track_dependencies_PROD-14602 branch from 317cb3b to 57c5fe6 Compare August 27, 2025 14:04
@sellisd sellisd merged commit 3a6fc77 into main Aug 27, 2025
2 checks passed
@sellisd sellisd deleted the DSE/track_dependencies_PROD-14602 branch August 27, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants