Skip to content

VED-000 Resolve new Sonar issues #847

VED-000 Resolve new Sonar issues

VED-000 Resolve new Sonar issues #847

name: PR Deploy and Test
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
deploy-pr-backend:
uses: ./.github/workflows/deploy-backend.yml
with:
apigee_environment: internal-dev
create_mns_subscription: true
environment: dev
sub_environment: pr-${{github.event.pull_request.number}}
run-e2e-tests:
needs: [deploy-pr-backend]
strategy:
matrix:
apigee_environment_name: [internal-dev, internal-dev-sandbox]
uses: ./.github/workflows/run-e2e-tests.yml

Check failure on line 21 in .github/workflows/pr-deploy-and-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-deploy-and-test.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pr-deploy-and-test.yml" -> "./.github/workflows/run-e2e-tests.yml" : (Line: 63, Col: 5): Unexpected value 'contents', (Line: 63, Col: 5): There's not enough info to determine what you meant. Add one of these properties: cancel-timeout-minutes, container, continue-on-error, defaults, env, environment, outputs, runs-on, secrets, services, snapshot, steps, timeout-minutes, uses, with
with:
apigee_environment: ${{ matrix.apigee_environment_name }}
environment: dev
sub_environment: pr-${{github.event.pull_request.number}}
secrets:
APIGEE_PASSWORD: ${{ secrets.APIGEE_PASSWORD }}
APIGEE_BASIC_AUTH_TOKEN: ${{ secrets.APIGEE_BASIC_AUTH_TOKEN }}
APIGEE_OTP_KEY: ${{ secrets.APIGEE_OTP_KEY }}
STATUS_API_KEY: ${{ secrets.STATUS_API_KEY }}