[DEVEX-108] Add optional parameter to PR infra workflow #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Infrastructure Plan | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
- ready_for_review | |
paths: | |
# Trigger the workflow when resources are modified | |
- "infra/resources" | |
# Trigger the workflow when the involved workflows are modified | |
- ".github/workflows/pr_infra.yaml" | |
- ".github/workflows/templates/infra_**" | |
jobs: | |
code_review_prod: | |
uses: ./.github/workflows/infra_plan.yaml | |
name: Code Review Infrastructure Plan | |
secrets: inherit | |
with: | |
environment: prod | |
region: westeurope | |
base_path: infra/resources |