chore(github-action): update anchore/sbom-action digest digest to 0b82b0b #2127
Workflow file for this run
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
| --- | |
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: Pull Request | |
| on: | |
| merge_group: | |
| pull_request: | |
| jobs: | |
| prepare: | |
| name: Prepare | |
| runs-on: | |
| group: default | |
| outputs: | |
| changed-files: ${{ steps.changed-files.outputs.changed_files }} | |
| steps: | |
| - name: Get changed files | |
| uses: bjw-s-labs/action-changed-files@1a5aeab1bfa64d0c4e786f501d5a3f1fad4a24da # v0.4.1 | |
| id: changed-files | |
| with: | |
| path: apps | |
| include_only_directories: true | |
| max_depth: 1 | |
| build: | |
| if: ${{ needs.prepare.outputs.changed-files != '[]' }} | |
| name: Build ${{ matrix.app }} | |
| needs: | |
| - prepare | |
| uses: ./.github/workflows/app-builder.yaml | |
| permissions: | |
| attestations: write | |
| contents: read | |
| id-token: write | |
| packages: write | |
| secrets: inherit | |
| strategy: | |
| matrix: | |
| app: ${{ fromJSON(needs.prepare.outputs.changed-files) }} | |
| fail-fast: false | |
| max-parallel: 8 | |
| with: | |
| app: ${{ matrix.app }} | |
| release: false | |
| status: | |
| if: ${{ !cancelled() }} | |
| name: Build Success | |
| needs: | |
| - build | |
| runs-on: | |
| group: default | |
| steps: | |
| - name: Any jobs failed? | |
| if: ${{ contains(needs.*.result, 'failure') }} | |
| run: |- | |
| exit 1 | |
| - name: All jobs passed or skipped? | |
| if: ${{ !(contains(needs.*.result, 'failure')) }} | |
| run: |- | |
| echo "All jobs passed or skipped" && echo "${{ toJSON(needs.*.result) }}" |