Skip to content

Commit

Permalink
Merge pull request #50 from coveo/feature/retry-on-snapshot-warnings
Browse files Browse the repository at this point in the history
Expose retry-on-snapshot-warnings parameters for Coveo Dependency Reviewer
  • Loading branch information
JPLachance authored Aug 29, 2024
2 parents c12eb71 + c248c58 commit 54f46f9
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 @@ -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 }}

0 comments on commit 54f46f9

Please sign in to comment.