Skip to content

Commit

Permalink
revert convertion of default to string
Browse files Browse the repository at this point in the history
  • Loading branch information
clay-lake committed Dec 2, 2024
1 parent 06a15b3 commit 35c55ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/Test-Rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,33 @@ on:
# Workflow Parameters
oci-archive-name:
description: "OCI image artifact name."
required: 'true'
required: true
type: string

# Individual Test Parameters:

## OCI Compliance Test
test-oci-compliance:
description: "Enable compliance test."
default: 'true'
default: true
type: boolean

## Rock black-box Test
test-black-box:
description: "Enable rock black-box test."
default: 'true'
default: true
type: boolean

## Image Efficiency Test
test-efficiency:
description: "Enable image efficiency test."
default: 'true'
default: true
type: boolean

## Vulnerability Test
test-vulnerabilities:
description: "Enable vulnerability test."
default: 'true'
default: true
type: boolean
trivyignore-path:
description: "Optional path to .trivyignore file."
Expand All @@ -42,7 +42,7 @@ on:
## Malware Test
test-malware:
description: "Enable malware test."
default: 'true'
default: true
type: boolean

env:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
runs-on: ${{ matrix.os }}
name: "test-black-box ${{ inputs.oci-archive-name != '' && format('| {0}', inputs.oci-archive-name) || ' '}}"
needs: [configure-tests]
if: ${{ inputs.test-black-box == 'true' }}
if: ${{ inputs.test-black-box == true }}
steps:
- uses: actions/cache/restore@v4
with:
Expand Down

0 comments on commit 35c55ae

Please sign in to comment.