From fca36649f9e34e1077d7b1262780bdf488f486b0 Mon Sep 17 00:00:00 2001 From: Johan LEROY Date: Tue, 22 Sep 2026 11:29:24 +0200 Subject: [PATCH] =?UTF-8?q?ci(infra):=20=C3=A9pingle=20setup-terraform=20s?= =?UTF-8?q?ur=20un=20SHA=20de=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Action tierce sur un workflow qui tourne avec les droits du dépôt : un tag mobile se redéplace. Constat SonarCloud githubactions:S7637, seul écart de la quality gate sur la PR. --- .github/workflows/infra.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml index 06553b9..a49088e 100644 --- a/.github/workflows/infra.yml +++ b/.github/workflows/infra.yml @@ -31,8 +31,10 @@ jobs: - name: Récupère le dépôt uses: actions/checkout@v7 + # Action tierce, donc epinglee sur un SHA de commit et pas sur un tag mobile : un tag se + # redeplace, et ce workflow tourne avec les droits du depot (regle Sonar githubactions:S7637). - name: Installe Terraform - uses: hashicorp/setup-terraform@v3 + uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1 with: terraform_version: 1.16.3 terraform_wrapper: false