Skip to content

Commit

Permalink
Make dependency review wait for build submission
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLongstaff committed Sep 13, 2024
1 parent f835114 commit 211161a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,21 @@ permissions:
pull-requests: write

jobs:
wait-for-build:
name: 'Wait for build to complete'
runs-on: ubuntu-latest
steps:
- uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: 'Build with Gradle Wrapper'
repo-token: ${{ secrets.GITHUB_TOKEN }}
allowed-conclusions: success

dependency-submission:
name: 'Dependency submission'
runs-on: ubuntu-latest
needs: wait-for-build
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
Expand Down

0 comments on commit 211161a

Please sign in to comment.