Skip to content

Cleanup dashboard variables #5

Cleanup dashboard variables

Cleanup dashboard variables #5

name: Infrastructure CI/CD Conductor
on:
push:
branches:
- '*feature*'
- 'dev'
pull_request:
branches:
- 'dev'
jobs:
trigger-terragrunt-plan:
if: github.event_name == 'push' && contains(github.ref, 'feature')
uses: ./.github/workflows/terragrunt-plan-workflow.yml
with:
environment: dev
trigger-security-scan:
if: github.event_name == 'push' && contains(github.ref, 'feature')
needs: trigger-terragrunt-plan
uses: ./.github/workflows/security-scan-workflow.yml
trigger-pr-terragrunt-plan:
if: github.event_name == 'pull_request' && github.base_ref == 'dev'
uses: ./.github/workflows/pr-terragrunt-plan-workflow.yml
trigger-pr-security-scan:
if: github.event_name == 'pull_request' && github.base_ref == 'dev'
needs: trigger-pr-terragrunt-plan
uses: ./.github/workflows/pr-security-scan-workflow.yml
trigger-infrastructure-provision:
if: github.event_name == 'push' && github.ref == 'refs/heads/dev'
uses: ./.github/workflows/infrastructure-provision-workflow.yml