chore(backport-action): make the action fail if there is an error [Backport stable-f44] #5129
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
| name: Stable Images | |
| on: | |
| # We do not want this to run after PR merges | |
| # we are only publishing weekly :stable images | |
| # We still want to know if things are broken | |
| pull_request: | |
| branches: | |
| - stable-f44 | |
| paths-ignore: | |
| - "**.md" | |
| - ".github/workflows/moderator.yml" | |
| - ".github/workflows/scorecard.yml" | |
| workflow_call: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| attestations: write | |
| artifact-metadata: write | |
| jobs: | |
| build-image-stable: | |
| name: Build Stable Images | |
| uses: ./.github/workflows/reusable-build.yml | |
| secrets: inherit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| brand_name: ["aurora"] | |
| with: | |
| #kernel_pin: 6.14.11-300.fc42.x86_64 ## This is where kernels get pinned. | |
| brand_name: ${{ matrix.brand_name }} | |
| stream_name: stable | |
| # Enable ARM when it makes sense | |
| # architecture: '["aarch64","x86_64"]' | |
| architecture: '["x86_64"]' | |
| publish: ${{ github.event_name != 'pull_request' }} | |
| generate-release: | |
| name: Generate Release | |
| needs: [build-image-stable] | |
| permissions: | |
| contents: write | |
| secrets: inherit | |
| uses: ./.github/workflows/generate-release.yml | |
| with: | |
| stream_name: '["stable"]' |