diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml index 52f5b4d977b29..c802c721e3bfd 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 == 'opensearch-project/OpenSearch' && ${{needs.check-files.outputs.RUN_GRADLE_CHECK}} + if: github.repository == 'opensearch-project/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)