Skip to content

VED-811 (Child of VED-720) Refactor PR and Release pipelines to move to GH Actions #12

VED-811 (Child of VED-720) Refactor PR and Release pipelines to move to GH Actions

VED-811 (Child of VED-720) Refactor PR and Release pipelines to move to GH Actions #12

name: PR Deploy and Test
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
deploy-pr-envs:
strategy:
matrix:
apigee_environment_name: [internal-dev, internal-dev-sandbox]
uses: ./.github/workflows/deploy-backend.yml

Check failure on line 12 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/deploy-backend.yml" : (Line: 59, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.BACKEND_REQUIRED == 'true', (Line: 93, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.BACKEND_REQUIRED == 'true'
with:
apigee_environment: ${{ matrix.apigee_environment_name }}
create_mns_subscription: true
environment: dev
sub_environment: pr-${{github.event.pull_request.number}}