diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml index cfd0da3dc41ea..cc2193b940e84 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)