Skip to content

[SELC-6134] Adding new scale rule for UAT #42

[SELC-6134] Adding new scale rule for UAT

[SELC-6134] Adding new scale rule for UAT #42

name: Code Review - container app infra
on:
workflow_dispatch:
pull_request:
branches:
- main
- releases/*
types:
- opened
- edited
- synchronize
- reopened
- ready_for_review
paths:
- 'infra/container_apps/user-ms/**'
- '.github/workflows/pr_container_apps_infra.yml'
- '.github/workflows/call_code_review_infra.yml'
jobs:
code_review_dev:
uses: ./.github/workflows/call_code_review_infra.yml
name: '[DEV] Container Apps Infra Code Review'
if: ${{ !startsWith(github.ref_name, 'releases/') }}
secrets: inherit
with:
environment: dev
dir: ./infra/container_apps/user-ms
env_vars: |
TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }})
code_review_uat:
uses: ./.github/workflows/call_code_review_infra.yml
name: '[UAT] Container Apps Infra Code Review'
if: ${{ startsWith(github.ref_name, 'releases/') }}
secrets: inherit
with:
environment: uat
dir: ./infra/container_apps/user-ms
env_vars: |
TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }})
code_review_prod:
uses: ./.github/workflows/call_code_review_infra.yml
name: '[PROD] Container Apps Infra Code Review'
if: ${{ startsWith(github.ref_name, 'releases/') }}
secrets: inherit
with:
environment: prod
dir: ./infra/container_apps/user-ms
env_vars: |
TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }})