Skip to content

EPAC Tenant Workflow #9

EPAC Tenant Workflow

EPAC Tenant Workflow #9

# This pipeline is used to deploy Policies, Initiative definitions and Assignments into Azure.
name: EPAC Tenant Workflow
on:
workflow_dispatch
env:
PAC_OUTPUT_FOLDER: ./Output
PAC_DEFINITIONS_FOLDER: ./Definitions
permissions:
contents: read
id-token: write
jobs:
plan:
name: Plan tenant
uses: ./.github/workflows/plan.yml
with:
pacEnvironmentSelector: tenant
planGitHubEnvironment: TENANT-PLAN
PAC_OUTPUT_FOLDER: ./Output
PAC_DEFINITIONS_FOLDER: ./Definitions
secrets: inherit
deployPolicy:
name: Deploy tenant Policy Changes
needs: plan
if: needs.plan.outputs.deployPolicyChanges == 'yes' && github.ref == 'refs/heads/main'
uses: ./.github/workflows/deploy-policy.yml
with:
pacEnvironmentSelector: tenant
planGitHubEnvironment: TENANT-DEPLOY-POLICY
PAC_INPUT_FOLDER: ./Output
PAC_DEFINITIONS_FOLDER: ./Definitions
secrets: inherit
deployRoles:
name: Deploy tenant Role Changes
needs: plan
if: needs.plan.outputs.deployRoleChanges == 'yes' && github.ref == 'refs/heads/main'
uses: ./.github/workflows/deploy-roles.yml
with:
pacEnvironmentSelector: tenant
planGitHubEnvironment: TENANT-DEPLOY-ROLES
PAC_INPUT_FOLDER: ./Output
PAC_DEFINITIONS_FOLDER: ./Definitions
secrets: inherit
documentation:
name: Documenation
uses: ./.github/workflows/documentation.yml

Check failure on line 52 in .github/workflows/epac-tenant-workflow.yml

View workflow run for this annotation

GitHub Actions / EPAC Tenant Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/epac-tenant-workflow.yml (Line: 52, Col: 11): Input PAC_OUTPUT_FOLDER is required, but not provided while calling. .github/workflows/epac-tenant-workflow.yml (Line: 56, Col: 25): Invalid input, PAC_INPUT_FOLDER is not defined in the referenced workflow.
with:
pacEnvironmentSelector: tenant
planGitHubEnvironment: TENANT-PLAN
PAC_INPUT_FOLDER: ./Output
PAC_DEFINITIONS_FOLDER: ./Definitions
secrets: inherit