fix(ci): skip R6 ZSTD read on failure, increase WAL6 timeout to 7200s #47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| # CycloneDX SBOM generation via anchore/syft | |
| # Gap T-2: US Executive Order 14028, EU Cyber Resilience Act (CRA) compliance | |
| name: SBOM | |
| on: | |
| push: | |
| branches: [ main ] | |
| tags: [ 'v*' ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| sbom: | |
| name: Generate CycloneDX SBOM | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Generate SBOM (CycloneDX JSON) | |
| uses: anchore/sbom-action@v0 | |
| with: | |
| path: . | |
| format: cyclonedx-json | |
| output-file: signet-forge-sbom.cdx.json | |
| artifact-name: signet-forge-sbom | |
| - name: Generate SBOM (SPDX JSON) | |
| uses: anchore/sbom-action@v0 | |
| with: | |
| path: . | |
| format: spdx-json | |
| output-file: signet-forge-sbom.spdx.json | |
| artifact-name: signet-forge-sbom-spdx | |
| - name: Upload SBOMs as release assets | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| signet-forge-sbom.cdx.json | |
| signet-forge-sbom.spdx.json | |
| - name: Upload SBOM artifacts (non-release) | |
| if: "!startsWith(github.ref, 'refs/tags/')" | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: sbom | |
| path: | | |
| signet-forge-sbom.cdx.json | |
| signet-forge-sbom.spdx.json | |
| retention-days: 90 |