From f62dc6ca374731fa4229fc3405c352643a661c0f Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Tue, 2 Sep 2025 11:58:12 +0200 Subject: [PATCH] Fix if conditions in preview build workflow --- .github/workflows/preview-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 4e31dd94f..264501046 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -448,7 +448,7 @@ jobs: comment: if: > startsWith(github.event_name, 'pull_request') - && inputs.disable-comments != 'true' + && inputs.disable-comments != true && needs.build.outputs.deployment_result && needs.check.outputs.any_modified runs-on: ubuntu-latest @@ -537,7 +537,7 @@ jobs: }); } - name: Comment on docs changes about versioning requirements - if: inputs.enable-cumulative-comment == 'true' + if: inputs.enable-cumulative-comment == true uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }}