Skip to content

Commit 0ba8d33

Browse files
committed
Add defaults
1 parent a0d1572 commit 0ba8d33

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ on:
1212
tag:
1313
required: false
1414
type: string
15+
default: ''
1516
dry_run:
1617
required: false
1718
type: boolean
19+
default: false
1820

1921
defaults:
2022
run:

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ on:
1919
release_version:
2020
required: false
2121
type: string
22+
default: ''
2223
dry_run:
2324
required: false
2425
type: boolean
26+
default: false
2527

2628
defaults:
2729
run:
@@ -220,8 +222,8 @@ jobs:
220222
with:
221223
image: ${{ matrix.image }}
222224
platforms: ${{ matrix.platforms }}
223-
tag: ${{ inputs.release_version }}
224-
dry_run: ${{ inputs.dry_run }}
225+
tag: ${{ inputs.release_version || '' }}
226+
dry_run: ${{ inputs.dry_run || false}}
225227
permissions:
226228
contents: read # for docker/build-push-action to read repo content
227229
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
@@ -236,8 +238,8 @@ jobs:
236238
with:
237239
image: plus
238240
platforms: "linux/arm64, linux/amd64"
239-
tag: ${{ inputs.release_version }}
240-
dry_run: ${{ inputs.dry_run }}
241+
tag: ${{ inputs.release_version || '' }}
242+
dry_run: ${{ inputs.dry_run || false }}
241243
permissions:
242244
contents: read # for docker/build-push-action to read repo content
243245
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results

.github/workflows/conformance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
production-release:
1616
required: false
1717
type: boolean
18+
default: false
1819

1920
defaults:
2021
run:

0 commit comments

Comments
 (0)