ci: fail-fast input for build workflows #235
Workflow file for this run
This file contains 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: build-containerd | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
inputs: | |
pkgs: | |
description: 'Packages to build (minimal, all or space separated list)' | |
default: 'minimal' | |
required: false | |
type: string | |
fail-fast: | |
description: 'Cancel all in-progress and queued jobs in the matrix if any job in the matrix fails' | |
default: true | |
required: false | |
type: boolean | |
push: | |
branches: | |
- 'main' | |
- 'containerd/[0-9]+.[0-9]+' | |
paths: | |
- '.github/workflows/.build.yml' | |
- '.github/workflows/build-containerd.yml' | |
- 'common/**' | |
- 'pkg/containerd/**' | |
pull_request: | |
branches: | |
- 'main' | |
- 'containerd/[0-9]+.[0-9]+' | |
paths: | |
- '.github/workflows/.build.yml' | |
- '.github/workflows/build-containerd.yml' | |
- 'common/**' | |
- 'pkg/containerd/**' | |
jobs: | |
run: | |
uses: ./.github/workflows/.build.yml | |
with: | |
name: containerd | |
secrets: inherit |