Skip to content

Commit 9cfebbc

Browse files
committed
fix(ci) workflow boolean checks
1 parent 6c6afe3 commit 9cfebbc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker-riverproui.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: "Build image: riverproui"
3838
runs-on: ubuntu-latest
3939
# Skip this job when manually dispatched with verify_only=true
40-
if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.verify_only == 'true') }}
40+
if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.verify_only) }}
4141
env:
4242
ECR_ACCOUNT_ID: ${{ secrets.ECR_CACHE_AWS_ACCOUNT_ID }}
4343
ECR_ROLE_ARN: ${{ secrets.ECR_CACHE_ROLE_ARN }}
@@ -124,7 +124,7 @@ jobs:
124124
needs:
125125
- build-riverproui
126126
# Skip this job when manually dispatched with verify_only=true
127-
if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.verify_only == 'true') }}
127+
if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.verify_only) }}
128128
permissions:
129129
contents: read
130130
id-token: write
@@ -363,7 +363,7 @@ jobs:
363363
# Only run on release tag events (refs/tags/riverproui/vX.Y.Z),
364364
# or when manually forced via workflow_dispatch: force_prefetch=true.
365365
# For workflow_dispatch, inputs.ref should be in the form 'riverproui/vX.Y.Z'.
366-
if: startsWith(github.ref, 'refs/tags/riverproui/v') || (github.event_name == 'workflow_dispatch' && (startsWith(inputs.ref, 'riverproui/v') || inputs.force_prefetch == 'true'))
366+
if: startsWith(github.ref, 'refs/tags/riverproui/v') || (github.event_name == 'workflow_dispatch' && (startsWith(inputs.ref, 'riverproui/v') || inputs.force_prefetch))
367367
permissions:
368368
contents: read
369369
steps:

0 commit comments

Comments
 (0)