Skip to content

chore(workflow): port the Docker image builder script to Python (#2060) #1

chore(workflow): port the Docker image builder script to Python (#2060)

chore(workflow): port the Docker image builder script to Python (#2060) #1

Workflow file for this run

name: Build SBOMs
on:
push:
branches:
- master
paths:
- 'package-lock.json'
- 'poetry.lock'
jobs:
js-sbom:

Check failure on line 12 in .github/workflows/sbom.yaml

View workflow run for this annotation

GitHub Actions / Build SBOMs

Invalid workflow file

The workflow is not valid. .github/workflows/sbom.yaml (Line: 12, Col: 3): The workflow must contain at least one job with no dependencies.
needs: run-tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and upload SBOM
uses: sbomify/github-action@master
env:
TOKEN: ${{ secrets.SBOMIFY_TOKEN }}
COMPONENT_ID: 'LCkvzm8qaL'
SBOM_FILE: 'package-lock.json'
AUGMENT: true
UPLOAD: true
python-sbom:
needs: run-tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and upload SBOM
uses: sbomify/github-action@master
env:
TOKEN: ${{ secrets.SBOMIFY_TOKEN }}
COMPONENT_ID: 'Vhc4zm8pdV'
SBOM_FILE: 'poetry.lock'
AUGMENT: true
UPLOAD: true