Skip to content

Commit

Permalink
fix syntax again
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty93 committed Apr 8, 2024
1 parent 551f4a9 commit f31f14d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/call_code_review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ env:
ARM_USE_OIDC: true
ARM_USE_AZUREAD: true
ARM_STORAGE_USE_AZUREAD: true
AGENT: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }}

jobs:
tf_plan:
name: 'Terraform Plan'
runs-on: ${{ env.AGENT }}
runs-on: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }}
environment: ${{ inputs.environment }}-ci
permissions:
id-token: write
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/call_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ env:
ARM_USE_OIDC: true
ARM_USE_AZUREAD: true
ARM_STORAGE_USE_AZUREAD: true
AGENT: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }}

jobs:

tf_plan:
name: 'Terraform Plan'
runs-on: ${{ env.AGENT }}
runs-on: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }}
environment: ${{ inputs.environment }}-ci
permissions:
id-token: write
Expand Down Expand Up @@ -92,7 +91,7 @@ jobs:

tf_apply:
name: 'Terraform Apply'
runs-on: ${{ env.AGENT }}
runs-on: ${{ inputs.use_self_hosted_agent == true && 'ubuntu-20.04' || 'self-hosted' }}
needs: [tf_plan]
environment: ${{ inputs.environment }}-cd
permissions:
Expand Down

0 comments on commit f31f14d

Please sign in to comment.