diff --git a/.github/workflows/e2e-infra-deploy.yml b/.github/workflows/e2e-infra-deploy.yml index 1ee5b2d3..b08a4cfb 100644 --- a/.github/workflows/e2e-infra-deploy.yml +++ b/.github/workflows/e2e-infra-deploy.yml @@ -9,6 +9,9 @@ name: E2E Tests Infra deployment +on: + workflow_call: + permissions: id-token: write contents: read @@ -67,4 +70,4 @@ jobs: - name: Deploy AOT Stack run: | cd libraries/tests/e2e/infra-aot - cdk deploy --require-approval never \ No newline at end of file + cdk deploy --require-approval never diff --git a/.github/workflows/e2e-infra-destroy.yml b/.github/workflows/e2e-infra-destroy.yml index 561f8b97..2cd8f5d4 100644 --- a/.github/workflows/e2e-infra-destroy.yml +++ b/.github/workflows/e2e-infra-destroy.yml @@ -9,6 +9,9 @@ name: Destroy e2e CDK Stacks +on: + workflow_call: + permissions: id-token: write contents: read @@ -37,4 +40,4 @@ jobs: - name: Destroy AOT Stack run: | cd libraries/tests/e2e/infra-aot - cdk destroy --force \ No newline at end of file + cdk destroy --force