Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail-fast input setting #87

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/plugins-ci-mongo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ on:
workflow_call:
inputs:
auto-merge-exclude:
description: 'A semicolon seperated list of packages that you do not want to be auto-merged.'
description: 'A semicolon separated list of packages that you do not want to be auto-merged.'
required: false
default: 'fastify'
type: string
fail-fast:
description: 'Set to false to disable the fail-fast strategy.'
required: false
default: true
type: boolean
license-check:
description: 'Check licenses'
description: 'Check licenses.'
required: false
type: boolean
default: false
license-check-allowed-additional:
description: 'A semicolon seperated list of additional licenses to allow.'
description: 'A semicolon separated list of additional licenses to allow.'
required: false
type: string
default: ''
Expand Down Expand Up @@ -97,6 +102,7 @@ jobs:
permissions:
contents: read
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
node-version: [14, 16, 18, 20]
os: [ubuntu-latest]
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/plugins-ci-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ on:
workflow_call:
inputs:
auto-merge-exclude:
description: 'A semicolon seperated list of packages that you do not want to be auto-merged.'
description: 'A semicolon separated list of packages that you do not want to be auto-merged.'
required: false
default: 'fastify'
type: string
fail-fast:
description: 'Set to false to disable the fail-fast strategy.'
required: false
default: true
type: boolean
license-check:
description: 'Check licenses.'
required: false
type: boolean
default: false
license-check-allowed-additional:
description: 'A semicolon seperated list of additional licenses to allow.'
description: 'A semicolon separated list of additional licenses to allow.'
required: false
type: string
default: ''
Expand Down Expand Up @@ -99,6 +104,7 @@ jobs:
permissions:
contents: read
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
node-version: [14, 16, 18, 20]
os: [ubuntu-latest]
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/plugins-ci-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ on:
workflow_call:
inputs:
auto-merge-exclude:
description: 'A semicolon seperated list of packages that you do not want to be auto-merged.'
description: 'A semicolon separated list of packages that you do not want to be auto-merged.'
required: false
default: 'fastify'
type: string
fail-fast:
description: 'Set to false to disable the fail-fast strategy.'
required: false
default: true
type: boolean
license-check:
description: 'Check licenses.'
required: false
type: boolean
default: false
license-check-allowed-additional:
description: 'A semicolon seperated list of additional licenses to allow.'
description: 'A semicolon separated list of additional licenses to allow.'
required: false
type: string
default: ''
Expand Down Expand Up @@ -97,6 +102,7 @@ jobs:
permissions:
contents: read
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
node-version: [14, 16, 18, 20]
os: [ubuntu-latest]
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/plugins-ci-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ on:
workflow_call:
inputs:
auto-merge-exclude:
description: 'A semicolon seperated list of packages that you do not want to be auto-merged.'
description: 'A semicolon separated list of packages that you do not want to be auto-merged.'
required: false
default: 'fastify'
type: string
fail-fast:
description: 'Set to false to disable the fail-fast strategy.'
required: false
default: true
type: boolean
license-check:
description: 'Check licenses'
description: 'Check licenses.'
required: false
type: boolean
default: false
license-check-allowed-additional:
description: 'A semicolon seperated list of additional licenses to allow.'
description: 'A semicolon separated list of additional licenses to allow.'
required: false
type: string
default: ''
Expand Down Expand Up @@ -95,6 +100,7 @@ jobs:
name: Node.js ${{ matrix.node-version }} - ${{ matrix.db }}
runs-on: ubuntu-latest
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
node-version: [14, 16, 18, 20]
db: [5, 6, 7]
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/plugins-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ on:
workflow_call:
inputs:
auto-merge-exclude:
description: 'A semicolon seperated list of packages that you do not want to be auto-merged.'
description: 'A semicolon separated list of packages that you do not want to be auto-merged.'
required: false
default: 'fastify'
type: string
fail-fast:
description: 'Set to false to disable the fail-fast strategy.'
required: false
default: true
type: boolean
license-check:
description: 'Check licenses.'
required: false
type: boolean
default: false
license-check-allowed-additional:
description: 'A semicolon seperated list of additional licenses to allow.'
description: 'A semicolon separated list of additional licenses to allow.'
required: false
type: string
default: ''
Expand Down Expand Up @@ -97,6 +102,7 @@ jobs:
permissions:
contents: read
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
node-version: [14, 16, 18, 20]
os: [macos-latest, ubuntu-latest, windows-latest]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
| Input Name | Required | Type | Default | Description |
| ---------------------------------- | ---------- | ------- | --------- | ---------------------------------------------------------------------------------- |
| `auto-merge-exclude` | false | string | `fastify` | Provide a semicolon separated list of packages that you do not want to be auto-merged. |
| `fail-fast` | false | boolean | `true` | Set to `false` to disable the fail-fast strategy. |
| `license-check` | false | boolean | `false` | Set to `true` to check that a repository's production dependencies use permissive licenses: 0BSD, Apache-2.0, BSD-2-Clause, BSD-3-Clause, MIT, or ISC. |
| `license-check-allowed-additional` | false | string | | Provide a semicolon separated list of SPDX-license identifiers that you want to additionally allow. |
| `lint` | false | boolean | `false` | Set to `true` to run the `lint` script in a repository's `package.json`. |
Expand Down