diff --git a/composite-actions/financial-and-logistics/test-opa/action.yml b/composite-actions/financial-and-logistics/test-opa/action.yml index e23a7b02..b903d0b5 100644 --- a/composite-actions/financial-and-logistics/test-opa/action.yml +++ b/composite-actions/financial-and-logistics/test-opa/action.yml @@ -5,7 +5,8 @@ inputs: SECRET_AUTH: required: true STYRA_TOKEN: - required: true + required: false + default: '' permission-prefix: type: string required: true @@ -16,17 +17,10 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@v3 - - - uses: extenda/actions/gcp-secret-manager@v0 - with: - service-account-key: ${{ inputs.SECRET_AUTH }} - secrets: | - STYRA_TOKEN: styra-das-token + - uses: actions/checkout@v6 - name: OPA/Rego unit tests - uses: extenda/actions/styra-das-test@v0 + uses: extenda/actions/opa-policy-test@v0 with: permission-prefix: ${{ inputs.permission-prefix }} service-name: ${{ inputs.service-name }} - styra-das-token: ${{ inputs.STYRA_TOKEN }}