Skip to content

Commit

Permalink
Add fail-fast input consistently across workflows that accept inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Jul 16, 2023
1 parent ae562b3 commit f2652dc
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/plugins-ci-mongo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
required: false
default: false
type: boolean
fail-fast:
description: 'Set the fail-fast strategey setting.'
required: false
default: true
type: boolean

jobs:
dependency-review:
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
6 changes: 6 additions & 0 deletions .github/workflows/plugins-ci-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
required: false
default: false
type: boolean
fail-fast:
description: 'Set the fail-fast strategey setting.'
required: false
default: true
type: boolean

jobs:
dependency-review:
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
6 changes: 6 additions & 0 deletions .github/workflows/plugins-ci-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
required: false
default: false
type: boolean
fail-fast:
description: 'Set the fail-fast strategey setting.'
required: false
default: true
type: boolean

jobs:
dependency-review:
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
6 changes: 6 additions & 0 deletions .github/workflows/plugins-ci-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
required: false
default: false
type: boolean
fail-fast:
description: 'Set the fail-fast strategey setting.'
required: false
default: true
type: boolean

jobs:
dependency-review:
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
7 changes: 6 additions & 1 deletion .github/workflows/plugins-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
required: false
default: false
type: boolean
fail-fast:
description: 'Set the fail-fast strategey setting.'
required: false
default: true
type: boolean

jobs:
dependency-review:
Expand Down Expand Up @@ -97,7 +102,7 @@ jobs:
permissions:
contents: read
strategy:
fail-fast: false
fail-fast: ${{ inputs.fail-fast }}
matrix:
node-version: [14, 16, 18, 20]
os: [macos-latest, ubuntu-latest, windows-latest]
Expand Down

0 comments on commit f2652dc

Please sign in to comment.