Skip to content

Commit a9d17cf

Browse files
authored
Merge pull request #34 from advanced-security/dr-add-snapshot
Add snapshot wait
2 parents 27cc6c3 + fdfbb0e commit a9d17cf

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/dependency-review.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ name: 'Dependency Review'
88
on:
99
pull_request:
1010
workflow_call:
11+
inputs:
12+
retry-on-snapshot-warnings:
13+
description: 'Enable or disable retrying the action every 10 seconds while waiting for dependency submission actions to complete.'
14+
type: boolean
15+
required: false
16+
default: true
17+
retry-on-snapshot-warnings-timeout:
18+
description: 'Maximum amount of time (in seconds) to retry the action while waiting for dependency submission actions to complete.'
19+
type: number
20+
required: false
21+
default: 120
1122

1223
permissions:
1324
contents: read
@@ -49,3 +60,5 @@ jobs:
4960
# Example: advanced-security/reusable-workflows/.github/dependency-review.yml@v0.1.0
5061
config-file: ${{ steps.config.outputs.config }}
5162
comment-summary-in-pr: "always"
63+
retry-on-snapshot-warnings: ${{ inputs.retry-on-snapshot-warnings || false }}
64+
retry-on-snapshot-warnings-timeout: ${{ inputs.retry-on-snapshot-warnings-timeout || 120 }}

0 commit comments

Comments
 (0)