Skip to content

Commit

Permalink
Test gradle check
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed May 1, 2024
1 parent 5133e5f commit d0ce7bb
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/gradle-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,24 @@ permissions:
contents: read # to fetch code (actions/checkout)

jobs:
gradle-check:
check-files:
if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ubuntu-latest
outputs:
RUN_GRADLE_CHECK: ${{steps.changed-files-specific.outputs.any_changed}}
steps:
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v44
with:
files_ignore: |
release-notes/**
.github/**
**.md
gradle-check:
needs: check-files
if: github.repository == 'opensearch-project/OpenSearch' && ${{needs.check-files}} == true
permissions:
contents: read # to fetch code (actions/checkout)
pull-requests: write # to create or update comment (peter-evans/create-or-update-comment)
Expand Down

0 comments on commit d0ce7bb

Please sign in to comment.