Skip to content

fix(security): ruff format + use release tag for pypa/gh-action-pypi-… #158

fix(security): ruff format + use release tag for pypa/gh-action-pypi-…

fix(security): ruff format + use release tag for pypa/gh-action-pypi-… #158

Workflow file for this run

name: Dogfood (ai-bom scans itself)
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
security-events: write
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.12"
cache: 'pip'
- name: Install ai-bom
run: pip install -e .
- name: Run ai-bom scan (SARIF)
run: ai-bom scan . --format sarif -o results.sarif
continue-on-error: true
- name: Upload SARIF to GitHub Security
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
if: hashFiles('results.sarif') != ''
with:
sarif_file: results.sarif