Skip to content

Commit fbf8425

Browse files
aclark4lifehugovk
andauthored
Update .github/workflows/wheels.yml
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent ba6c046 commit fbf8425

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/wheels.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,10 @@ jobs:
277277
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
278278

279279
sbom:
280-
if: github.repository_owner == 'python-pillow' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
280+
if: |
281+
github.event.repository.fork == false
282+
&& github.event_name == 'push'
283+
&& startsWith(github.ref, 'refs/tags')
281284
needs: count-dists
282285
runs-on: ubuntu-latest
283286
name: Generate and publish SBOM

0 commit comments

Comments
 (0)