Skip to content

Add stricter constraints and pass secrets #14

Add stricter constraints and pass secrets

Add stricter constraints and pass secrets #14

name: PR Deploy and Test

Check failure on line 1 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

(Line: 20, Col: 9): A mapping was not expected
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
with:
apigee_environment: ${{ matrix.apigee_environment_name }}
create_mns_subscription: true
environment: dev
sub_environment: pr-${{github.event.pull_request.number}}
secrets:
STATUS_API_KEY:
required: true