Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose retry-on-snapshot-warnings parameters for Coveo Dependency Reviewer #50

Merged
merged 1 commit into from
Aug 29, 2024
Merged
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
12 changes: 12 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ on:
The type of machine to run the job on. Must be provided as a stringified list (e.g. public repos should specify `runs-on: '["ubuntu-latest"]'`)
default: '["coveo", "arm64" , "linux", "eks"]'
type: string
retry-on-snapshot-warnings:
description: Whether to retry on snapshot warnings (to be used for projects where a dependency submission Action is used)
required: false
type: boolean
default: false
retry-on-snapshot-warnings-timeout:
description: Number of seconds to wait before stopping snapshot retries.
required: false
type: number
default: 120

jobs:
dependency-review:
Expand Down Expand Up @@ -80,3 +90,5 @@ jobs:
config-file: ./coveo-dependency-allowed-licenses/${{ steps.select-config.outputs.result }}
base-ref: ${{ inputs.base-ref }}
head-ref: ${{ inputs.head-ref }}
retry-on-snapshot-warnings: ${{ inputs.retry-on-snapshot-warnings }}
retry-on-snapshot-warnings-timeout: ${{ inputs.retry-on-snapshot-warnings-timeout }}