Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
Only do SBOM and VEX for 1st party
Browse files Browse the repository at this point in the history
  • Loading branch information
John Andersen authored Jun 27, 2024
1 parent 3773cfb commit 60b5235
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
python -m build .
- name: Generate SBOM
id: generate-sbom
if: ${{ !inputs.name-with-owner }}
uses: anthonyharrison/sbom4python@5b458354df89357bf0253e62ea4567b1807120e2
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -87,14 +88,17 @@ jobs:
subject-path: "dist/${{ steps.filename.outputs.whl }}"
- uses: openvex/generate-vex@159b7ee4845fb48f1991395ce8501d6263407360
name: Run vexctl
if: ${{ !inputs.name-with-owner }}
id: vexctl
with:
product: pkg:github/${{ github.repository }}@${{ github.sha }}
- name: Output vexctl to file
if: ${{ !inputs.name-with-owner }}
shell: cp -v {0} vex.json
run: |
${{ steps.vexctl.outputs.openvex }}
- name: Submit OpenVEX to Transparency Service
if: ${{ !inputs.name-with-owner }}
uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
with:
subject-path: vex.json
Expand Down

0 comments on commit 60b5235

Please sign in to comment.