Skip to content

Commit

Permalink
Replace main with v2
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Mar 21, 2024
1 parent 4f4bebe commit 1f244eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ on: [pull_request, push, workflow_dispatch]

jobs:
build:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@v2
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/check-stable-dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ on: [pull_request, workflow_dispatch]

jobs:
check_dependency:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-check-stable-dependency.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-check-stable-dependency.yaml@v2
secrets: inherit
12 changes: 6 additions & 6 deletions .github/workflows/validate-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ on:
workflow_dispatch:
inputs:
failure_severity:
description: 'Must be one of CRITICAL, HIGH, MEDIUM'
description: Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
required: false
default: CRITICAL
default: CRITICAL,HIGH
fail_on_error:
description: 'If true, will fail the build if vulnerabilities are found'
description: If true, will fail the build if vulnerabilities are found
required: true
type: boolean
default: true
Expand All @@ -16,22 +16,22 @@ on:

jobs:
build-publish-docker-default:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@v2
with:
failure_severity: ${{ inputs.failure_severity || 'CRITICAL'}}
fail_on_error: ${{ inputs.fail_on_error || true }}
cloud_provider: 'default'
secrets: inherit
build-publish-docker-aws:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@v2
with:
failure_severity: ${{ inputs.failure_severity || 'CRITICAL'}}
fail_on_error: ${{ inputs.fail_on_error || true }}
cloud_provider: 'aws'
secrets: inherit
needs: [build-publish-docker-default]
build-publish-docker-gcp:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@v2
with:
failure_severity: ${{ inputs.failure_severity || 'CRITICAL'}}
fail_on_error: ${{ inputs.fail_on_error || true }}
Expand Down

0 comments on commit 1f244eb

Please sign in to comment.