Skip to content

v0.0.4 RC

v0.0.4 RC #4

Workflow file for this run

name: Generate SBOM
on:
pull_request:
types: [opened, synchronize]
jobs:
generate-sbom:
runs-on: ubuntu-latest
steps:
- name: Set up Git
run: |
git config --global user.email "developer-tools@finitestate.io"
git config --global user.name "Finite State Developers"
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.12 # Use the desired Python version
- name: Install dependencies
run: pip install -r requirements.txt
- name: Generate SBOM
run: |
# Run the 'cyclonedx-py' command to generate the SBOM in JSON format
cyclonedx-py -r --format json -o sbom/finite-state-sdk-cyclonedx.sbom.json
- name: Commit SBOM and Push Changes
run: |

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

View workflow run for this annotation

GitHub Actions / Generate SBOM

Invalid workflow file

The workflow is not valid. .github/workflows/sbom.yaml (Line: 32, Col: 14): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
git add sbom/finite-state-sdk-cyclonedx.sbom.json
git commit -m "Add SBOM JSON file"
git push origin HEAD:${{ github.head_ref }