Skip to content

Conversation

kalmarz
Copy link
Contributor

@kalmarz kalmarz commented Oct 13, 2025

This PR adds a new composite action that can be used to publish SBOMs and attribution text to FOSSA release groups.

Related: https://github.com/camunda/team-infrastructure/issues/854

@kalmarz kalmarz force-pushed the infra-gh-854-publish-sboms branch from db3399a to 788d8f5 Compare October 15, 2025 17:23
@kalmarz kalmarz changed the title feat(fossa): add create-release composite action feat(fossa): add new FOSSA composite actions Oct 15, 2025
@kalmarz kalmarz requested a review from Copilot October 16, 2025 11:15
Copy link

@Copilot 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 introduces new composite GitHub Actions for FOSSA integration, specifically adding functionality to wait for scan completion and create releases with report generation. These actions enable automated SBOM and attribution report publishing to FOSSA release groups.

  • Adds a wait-for-scan action that polls FOSSA's revisions API to ensure scan completion before proceeding
  • Adds a release action that creates releases in separate groups and generates attribution/SBOM reports
  • Includes comprehensive documentation for both actions with usage examples and workflow integration

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
fossa/wait-for-scan/action.yml Composite action that polls FOSSA API to wait for scan completion with configurable timeout and polling intervals
fossa/wait-for-scan/README.md Documentation explaining the wait-for-scan action usage, implementation details, and workflow integration
fossa/release/action.yml Composite action that creates FOSSA releases and generates attribution/SBOM reports to different release groups
fossa/release/README.md Documentation for the release action covering inputs, supported formats, and error handling

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

@kalmarz kalmarz requested a review from maxdanilov October 16, 2025 11:19
Copy link
Member

@maxdanilov maxdanilov left a comment

Choose a reason for hiding this comment

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

Leaving minor clarification comments.

| `sbom-release-group-id` | Release group ID for SBOM reports | Yes | - |
| `release-number` | Version number of the release to be created | Yes | - |
| `project-id` | Project ID (locator) | Yes | - |
| `branch` | Name of the branch | Yes | - |
Copy link
Member

Choose a reason for hiding this comment

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

should this be any branch or a release branch in particular?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the documentation to clarify.

@kalmarz kalmarz requested a review from Copilot October 17, 2025 10:07
Copy link

@Copilot 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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


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

- Build locator consistently with wait-for-scan action
- Use pre-constructed LOCATOR variable in JSON payload
- Ensure proper $ escaping for literal dollar sign
- Add debug output for locator construction

Fixes reviewer feedback about inconsistent locator construction.
@kalmarz kalmarz requested a review from Copilot October 17, 2025 11:36
Copy link

@Copilot 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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.


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

@kalmarz kalmarz requested a review from maxdanilov October 17, 2025 11:42
Copy link
Member

@maxdanilov maxdanilov left a comment

Choose a reason for hiding this comment

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

LGTM, thank you.

@kalmarz kalmarz merged commit 3be9c06 into main Oct 21, 2025
2 checks passed
@kalmarz kalmarz deleted the infra-gh-854-publish-sboms branch October 21, 2025 17:50
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.

2 participants