Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ name: 'Dependency Review'
on:
pull_request:
workflow_call:
inputs:
retry-on-snapshot-warnings:
description: 'Enable or disable retrying the action every 10 seconds while waiting for dependency submission actions to complete.'
type: boolean
required: false
default: false
retry-on-snapshot-warnings-timeout:
description: 'Maximum amount of time (in seconds) to retry the action while waiting for dependency submission actions to complete.'
type: number
required: false
default: 120

permissions:
contents: read
Expand Down Expand Up @@ -49,4 +60,5 @@ jobs:
# Example: advanced-security/reusable-workflows/.github/dependency-review.yml@main
config-file: ${{ steps.config.outputs.config }}
comment-summary-in-pr: "always"
retry-on-snapshot-warnings: "true" #This will add a 120s delay on any repos without a snapshot
retry-on-snapshot-warnings: ${{ inputs.retry-on-snapshot-warnings || false }}
retry-on-snapshot-warnings-timeout: ${{ inputs.retry-on-snapshot-warnings-timeout || 120 }}