Skip to content

Commit b4396ac

Browse files
authored
Fix if conditions in preview build workflow (#1812)
1 parent a818066 commit b4396ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/preview-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ jobs:
448448
comment:
449449
if: >
450450
startsWith(github.event_name, 'pull_request')
451-
&& inputs.disable-comments != 'true'
451+
&& inputs.disable-comments != true
452452
&& needs.build.outputs.deployment_result
453453
&& needs.check.outputs.any_modified
454454
runs-on: ubuntu-latest
@@ -537,7 +537,7 @@ jobs:
537537
});
538538
}
539539
- name: Comment on docs changes about versioning requirements
540-
if: inputs.enable-cumulative-comment == 'true'
540+
if: inputs.enable-cumulative-comment == true
541541
uses: actions/github-script@v7
542542
with:
543543
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)