Upgrade pipelines action versions #492
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration on prod citizen-auth | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
- ready_for_review | |
paths: | |
- "src/domains/citizen-auth**" | |
- ".github/workflows/prod**citizen-auth.yml" | |
permissions: | |
id-token: write | |
contents: read | |
env: | |
DIR: "src/domains/citizen-auth" | |
AZURE_ENVIRONMENT: prod | |
jobs: | |
terraform_plan_job: | |
name: Terraform Plan | |
runs-on: self-hosted | |
environment: prod-ci | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Setup terraform | |
id: setup-version | |
# https://github.com/pagopa/terraform-install-action/commits/main | |
uses: pagopa/terraform-install-action@1f76f593176e58c423b88d72273a612ba7ba430b | |
- name: Terraform plan common | |
# from https://github.com/pagopa/terraform-plan-azure-action/commits/main | |
uses: pagopa/terraform-plan-azure-action@392aca28cbb33f5dc28215dfb72385e136fd813b | |
with: | |
client_id: ${{ secrets.AZURE_CLIENT_ID_CI }} | |
tenant_id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
dir: ${{ env.DIR }}-common | |
azure_environment: prod | |
- name: Terraform plan weu-beta | |
# from https://github.com/pagopa/terraform-plan-azure-action/commits/main | |
uses: pagopa/terraform-plan-azure-action@392aca28cbb33f5dc28215dfb72385e136fd813b | |
with: | |
client_id: ${{ secrets.AZURE_CLIENT_ID_CI }} | |
tenant_id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
dir: ${{ env.DIR }}-app | |
azure_environment: weu-beta | |
- name: Terraform plan weu-prod01 | |
# from https://github.com/pagopa/terraform-plan-azure-action/commits/main | |
uses: pagopa/terraform-plan-azure-action@392aca28cbb33f5dc28215dfb72385e136fd813b | |
with: | |
client_id: ${{ secrets.AZURE_CLIENT_ID_CI }} | |
tenant_id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
dir: ${{ env.DIR }}-app | |
azure_environment: weu-prod01 |