Skip to content

Save / Publish SBOMs to GitHub Packages#33757

Open
mpreyskurantov wants to merge 22 commits into
26_1from
26_1-sbom-val-dev
Open

Save / Publish SBOMs to GitHub Packages#33757
mpreyskurantov wants to merge 22 commits into
26_1from
26_1-sbom-val-dev

Conversation

@mpreyskurantov

Copy link
Copy Markdown
Contributor

No description provided.

@mpreyskurantov mpreyskurantov self-assigned this May 28, 2026
Copilot AI review requested due to automatic review settings May 28, 2026 11:02
@mpreyskurantov mpreyskurantov requested a review from a team as a code owner May 28, 2026 11:02

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings June 4, 2026 14:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings June 5, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/packages_publishing.yml Outdated
Copilot AI review requested due to automatic review settings June 5, 2026 16:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/packages_publishing.yml
Comment thread .github/workflows/packages_publishing.yml Outdated
Comment thread .github/workflows/packages_publishing.yml Outdated
Copilot AI review requested due to automatic review settings June 8, 2026 15:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated 3 comments.

Comment on lines +90 to +92
shopt -s nullglob
sbom_files=(packages/sbom/dist/*.sbom.json)

Comment thread .github/workflows/packages_publishing.yml Outdated
Comment on lines +171 to +175
# if [ ! -f "$SBOM_FILE" ]; then
# echo "No SBOM found for $UNSCOPED_PACKAGE_NAME"
# echo "hasSbom=false" >> "$GITHUB_OUTPUT";
# exit 0;
# fi
Copilot AI review requested due to automatic review settings June 8, 2026 16:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 3 out of 3 changed files in this pull request and generated 4 comments.

shell: bash
run: |
shopt -s nullglob
sbom_files=(packages/sbom/dist/*.sbom.json)
Comment thread .github/workflows/packages_publishing.yml Outdated
Comment thread .github/workflows/packages_publishing.yml Outdated
Comment thread .github/workflows/packages_publishing.yml
Copilot AI review requested due to automatic review settings June 10, 2026 18:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 3 out of 3 changed files in this pull request and generated 2 comments.

Comment on lines +89 to +92
run: |
shopt -s nullglob
sbom_files=(packages/sbom/dist/*.sbom.json)

mkdir -p "$SBOM_PACKAGE_DIR" "$SBOM_TGZ_DIR";
cp "$SBOM_FILE" "$SBOM_PACKAGE_DIR/";
cd "$SBOM_PACKAGE_DIR";
node -e "const fs = require('fs'); const [name, version, license, author] = process.argv.slice(1); fs.writeFileSync('package.json', JSON.stringify({ name, version, license, author }, null, 2));" "$SBOM_PACKAGE_NAME" "$PACKAGE_VERSION" "$PACKAGE_LICENSE" "$PACKAGE_AUTHOR";
Copilot AI review requested due to automatic review settings June 17, 2026 15:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 3 out of 3 changed files in this pull request and generated 2 comments.

shell: bash
run: |
shopt -s nullglob
sbom_files=(packages/sbom/dist/*.sbom.json)
Comment on lines +202 to +207
SCOPE=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]');
SBOM_PACKAGE_NAME="$UNSCOPED_PACKAGE_NAME-sbom";
SBOM_PACKAGE_DIR="sbom-package/$SBOM_PACKAGE_NAME";
SBOM_TGZ_DIR="sbom-package-tgz";
PACKAGE_LICENSE=$(node -p "require('./package.json').license");
PACKAGE_AUTHOR=$(node -p "require('./package.json').author");
Copilot AI review requested due to automatic review settings June 21, 2026 18:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 3 out of 4 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • packages/sbom/pnpm-lock.yaml: Generated file

Comment on lines +89 to +91
shopt -s nullglob
sbom_files=(packages/sbom/dist/*.sbom.json)

@mpreyskurantov mpreyskurantov changed the title Validate SBOMs with CycloneDX CLI Save / Publish SBOMs to GitHub Packages Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants