Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
using: "composite"
steps:
- name: Run Bicep Deploy
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
with:
azPSVersion: 'latest'
inlineScript: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: "composite"
steps:
- name: Run Bicep Deploy
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
with:
azPSVersion: 'latest'
inlineScript: ./${destroy_script_path} -WhatIfEnabled $$${{ inputs.whatIfEnabled }}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
steps:
- name: First Deployment Check
id: firstDeployment
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
with:
azPSVersion: 'latest'
inlineScript: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
shell: pwsh

- name: Upgrade AZ PowerShell
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
if: $${{ env.runPowerShellAzUpgrade == 'true' }}
with:
azPSVersion: '$${{ env.latestPowerShellAzVersion }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
shell: pwsh

- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Get Bicep Variables
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-variables@main
Expand All @@ -59,7 +59,7 @@ jobs:
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main

- name: OIDC Login to Tenant
uses: azure/login@v2
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: $${{ vars.AZURE_CLIENT_ID }}
tenant-id: $${{ vars.AZURE_TENANT_ID }}
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
shell: pwsh

- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Get Bicep Variables
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-variables@main
Expand All @@ -141,7 +141,7 @@ jobs:
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main

- name: OIDC Login to Tenant
uses: azure/login@v2
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: $${{ vars.AZURE_CLIENT_ID }}
tenant-id: $${{ vars.AZURE_TENANT_ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install Bicep and Update Az Module
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:

steps:
- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Get Bicep Variables
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-variables@main
Expand All @@ -94,7 +94,7 @@ jobs:
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main

- name: OIDC Login to Tenant
uses: azure/login@v2
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: $${{ vars.AZURE_CLIENT_ID }}
tenant-id: $${{ vars.AZURE_TENANT_ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
using: "composite"
steps:
- name: Run Bicep Deploy with Deployment Stack
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
with:
azPSVersion: 'latest'
inlineScript: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
steps:
- name: First Deployment Check
id: firstDeployment
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
with:
azPSVersion: 'latest'
inlineScript: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
shell: pwsh

- name: Upgrade AZ PowerShell
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
if: $${{ env.runPowerShellAzUpgrade == 'true' }}
with:
azPSVersion: '$${{ env.latestPowerShellAzVersion }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
using: "composite"
steps:
- name: Get Variables from parameters.json
uses: azure/powershell@v2
uses: azure/powershell@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0
with:
azPSVersion: 'latest'
inlineScript: |
Expand Down
8 changes: 4 additions & 4 deletions alz/github/actions/bicep/templates/workflows/cd-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
shell: pwsh

- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Get Bicep Variables
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-variables@main
Expand All @@ -44,7 +44,7 @@ jobs:
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main

- name: OIDC Login to Tenant
uses: azure/login@v2
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: $${{ vars.AZURE_CLIENT_ID }}
tenant-id: $${{ vars.AZURE_TENANT_ID }}
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
shell: pwsh

- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Get Bicep Variables
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-variables@main
Expand All @@ -106,7 +106,7 @@ jobs:
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main

- name: OIDC Login to Tenant
uses: azure/login@v2
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: $${{ vars.AZURE_CLIENT_ID }}
tenant-id: $${{ vars.AZURE_TENANT_ID }}
Expand Down
6 changes: 3 additions & 3 deletions alz/github/actions/bicep/templates/workflows/ci-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install Bicep and Update Az Module
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

steps:
- name: Checkout Bicep Module
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Get Bicep Variables
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-variables@main
Expand All @@ -65,7 +65,7 @@ jobs:
uses: ${project_or_organization_name}/${repository_name_templates}/.github/actions/bicep-installer@main

- name: OIDC Login to Tenant
uses: azure/login@v2
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: $${{ vars.AZURE_CLIENT_ID }}
tenant-id: $${{ vars.AZURE_TENANT_ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install Terraform
uses: hashicorp/setup-terraform@v3
uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
with:
terraform_wrapper: false
terraform_version: $${{ inputs.terraform_cli_version }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
shell: pwsh

- name: Publish Module Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: module
path: ./staging/
Expand Down Expand Up @@ -110,12 +110,12 @@ jobs:

steps:
- name: Download a Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: module

- name: Install Terraform
uses: hashicorp/setup-terraform@v3
uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
with:
terraform_wrapper: false
terraform_version: $${{ inputs.terraform_cli_version }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
environment: ${environment_name_plan}
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install Terraform
uses: hashicorp/setup-terraform@v3
uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
with:
terraform_wrapper: false
terraform_version: $${{ inputs.terraform_cli_version }}
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:
ARM_USE_OIDC: true
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install Terraform
uses: hashicorp/setup-terraform@v3
uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
with:
terraform_wrapper: false
terraform_version: $${{ inputs.terraform_cli_version }}
Expand All @@ -99,7 +99,7 @@ jobs:

- name: Update Pull Request
if: (success() || failure()) && github.event_name == 'pull_request'
uses: actions/github-script@v6
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
github-token: $${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
Loading