Skip to content

Cryptography BoM

Cryptography BoM #2

Workflow file for this run

name: Cryptography BoM
on:
workflow_dispatch:
push:
branches: [ n2 ]
paths:
- '**/*.go'
pull_request:
branches: [ n2 ]
paths:
- '**/*.go'
jobs:
# github.com/advanced-security/cbom-action
build-matrix:
name: 🚏 Repo analysis
runs-on: ubuntu-latest
outputs:
repositories: ${{ steps.rm.outputs.repositories }}
steps:
- name: πŸš€ Build analysis matrix
uses: advanced-security/cbom-action/build-matrix@v1
id: rm
with:
repositoryNameWithOwner: ${{ github.repository }}
analyzeDependencies: true
minimumLanguageBytes: 0
run-cbom-action:
name: πŸ“œ ${{ fromJson(matrix.repository).nameWithOwner }} - ${{ fromJson(matrix.repository).language }}
runs-on: ubuntu-latest
needs: build-matrix
continue-on-error: true
strategy:
fail-fast: false
matrix:
repository: ${{ fromJSON(needs.build-matrix.outputs.repositories) }}
steps:
- name: πŸ’ˆ Run
id: cbom
uses: advanced-security/cbom-action/analyze@95d1511de9cab4561b8c5826c76569d2a1c22200 # latest
with:
repositoryNameWithOwner: ${{ fromJson(matrix.repository).nameWithOwner }}
language: ${{ fromJson(matrix.repository).language }}
createCodeQLDatabaseIfRequired: true
uploadToCodeScanning: false
requestGitHubAnalysis: false
queryTimeout: 500
- name: πŸ”… Summarize
if: success()
uses: advanced-security/cbom-action/workflow-summary@v1