diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml index 7f2ba88fb8236..d7a42f90bffce 100644 --- a/.github/workflows/gradle-check.yml +++ b/.github/workflows/gradle-check.yml @@ -31,7 +31,7 @@ jobs: gradle-check: needs: check-files - if: github.repository == 'gaiksaya/OpenSearch' && needs.check-files.outputs.RUN_GRADLE_CHECK + if: github.repository == 'gaiksaya/OpenSearch' && ${{needs.check-files.outputs.RUN_GRADLE_CHECK}} === 'true' permissions: contents: read # to fetch code (actions/checkout) pull-requests: write # to create or update comment (peter-evans/create-or-update-comment)