Skip to content

Commit

Permalink
gradle check now only runs after successful gradle precommit check
Browse files Browse the repository at this point in the history
Signed-off-by: Braddy Yeoh <[email protected]>
  • Loading branch information
Braddy Yeoh committed Oct 2, 2022
1 parent 15acfc7 commit f62f889
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gradle-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ on:
- 'dependabot/**'
pull_request_target:
types: [opened, synchronize, reopened]
workflow_run:
workflows: [Gradle Precommit]
types:
- completed

jobs:
gradle-check:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
timeout-minutes: 130
steps:
- name: Checkout OpenSearch repo
Expand Down

0 comments on commit f62f889

Please sign in to comment.