Skip to content

Fix attach SBOM to GitHub release#9748

Merged
hugovk merged 1 commit into
python-pillow:mainfrom
hugovk:fix-attach-sbom
Jul 1, 2026
Merged

Fix attach SBOM to GitHub release#9748
hugovk merged 1 commit into
python-pillow:mainfrom
hugovk:fix-attach-sbom

Conversation

@hugovk

@hugovk hugovk commented Jul 1, 2026

Copy link
Copy Markdown
Member

During the 12.3.0 release (#9570):

https://github.com/python-pillow/Pillow/actions/runs/28508597348/job/84525739657

The "Publish SBOM to GitHub release" job failed:

Run gh release upload "$GITHUB_REF_NAME" pillow-*.cdx.json
failed to run git: fatal: not a git repository (or any of the parent directories): .git

This PR should fix it.

The release still uploaded to PyPI okay, and we don't need to redo the release just for this, especially as this was the first release with any SBOM (#9550), and we're now also embedding the SBOM in wheels (#9679).

@hugovk hugovk added the Release label Jul 1, 2026
@hugovk hugovk merged commit c64a82f into python-pillow:main Jul 1, 2026
44 of 46 checks passed
@hugovk hugovk deleted the fix-attach-sbom branch July 1, 2026 17:55
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