diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml index 05ca118550ef6..f784459014d5e 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}} == true + if: github.repository == 'gaiksaya/OpenSearch' && ${{needs.check-files.outputs.RUN_GRADLE_CHECK}} permissions: contents: read # to fetch code (actions/checkout) pull-requests: write # to create or update comment (peter-evans/create-or-update-comment)