The sbomify Action supports OIDC trusted publishing, so no long-lived token secret is needed.
permissions:
id-token: write # OIDC trusted publishing, no token needed
steps:
- name: Upload SBOM
uses: sbomify/sbomify-action@master
env:
COMPONENT_ID: 'my-component-id'
LOCK_FILE: 'requirements.txt'
COMPONENT_NAME: 'my-awesome-app'
COMPONENT_VERSION: ${{ github.ref_name }}
AUGMENT: true
ENRICH: truePrefer token auth, or using another CI system? Set TOKEN: ${SBOMIFY_TOKEN} instead.