Skip to content

Commit

Permalink
fix(ci): dependency review needs the graph
Browse files Browse the repository at this point in the history
- fix: wait for dependency graph to run review
- fix: retry on snapshot warnings for dependency review

Signed-off-by: Sam Gammon <[email protected]>
  • Loading branch information
sgammon committed Mar 11, 2024
1 parent e2030a4 commit fedf78d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/on.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
dependency-review:
name: "Dependency Review"
runs-on: ubuntu-latest
needs: [dependency-graph]
permissions:
contents: read
pull-requests: write
Expand All @@ -55,10 +56,12 @@ jobs:
- name: "Checkout Repository"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: "Dependency Review"
uses: actions/dependency-review-action@4901385134134e04cec5fbe5ddfe3b2c5bd5d976 # v4.0.0
uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3
with:
config-file: "./.github/dependency-review-config.yml"
comment-summary-in-pr: always
retry-on-snapshot-warnings: true
warn-only: true

test:
name: "Tests: ${{ matrix.label }}"
Expand Down

0 comments on commit fedf78d

Please sign in to comment.